{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 122
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 6305,
     "status": "ok",
     "timestamp": 1546518331517,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "RNHdO789kRS5",
    "outputId": "601569c5-1d89-40c5-cacc-ecb9b8fcb28a"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Collecting pymysql\n",
      "\u001b[?25l  Downloading https://files.pythonhosted.org/packages/ed/39/15045ae46f2a123019aa968dfcba0396c161c20f855f11dea6796bcaae95/PyMySQL-0.9.3-py2.py3-none-any.whl (47kB)\n",
      "\u001b[K    100% |████████████████████████████████| 51kB 3.5MB/s \n",
      "\u001b[?25hInstalling collected packages: pymysql\n",
      "Successfully installed pymysql-0.9.3\n"
     ]
    }
   ],
   "source": [
    "!pip install pymysql"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "hxp0S1fvkVZJ"
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "aIJ9cGs4o4gk"
   },
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import pymysql\n",
    "import pymysql.cursors\n",
    "from functools import reduce\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "import uuid\n",
    "import datetime\n",
    "#from pyfm import pylibfm\n",
    "from sklearn.feature_extraction import DictVectorizer\n",
    "from sklearn.metrics.pairwise import pairwise_distances\n",
    "np.set_printoptions(precision=3)\n",
    "np.set_printoptions(suppress=True)\n",
    "from sklearn.datasets import dump_svmlight_file\n",
    "from sklearn.preprocessing import OneHotEncoder\n",
    "import pickle as pkl\n",
    "from sklearn.metrics import roc_auc_score, mean_squared_error\n",
    "from sklearn.datasets import load_svmlight_file\n",
    "from sklearn.linear_model import LogisticRegression"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 122
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 35575,
     "status": "ok",
     "timestamp": 1546518363966,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "ROxDVkRfpCep",
    "outputId": "d078bc48-20f0-4067-cedc-3cfc90b00db1"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Go to this URL in a browser: https://accounts.google.com/o/oauth2/auth?client_id=947318989803-6bn6qk8qdgf4n4g3pfee6491hc0brc4i.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdocs.test%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive.photos.readonly%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fpeopleapi.readonly&response_type=code\n",
      "\n",
      "Enter your authorization code:\n",
      "··········\n",
      "Mounted at /content/drive\n"
     ]
    }
   ],
   "source": [
    "from google.colab import drive\n",
    "drive.mount('/content/drive')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 38657,
     "status": "ok",
     "timestamp": 1546518368588,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "WzmmEhBUpLsV",
    "outputId": "ea92be8d-c107-45bc-c168-770cdec029e9"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "drive  sample_data\n"
     ]
    }
   ],
   "source": [
    "!ls"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 102
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 41565,
     "status": "ok",
     "timestamp": 1546518372819,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "Jp64t_AOpa39",
    "outputId": "5a80ae2a-c09b-48a3-db67-38d9c9d50b2c"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Cloning into 'libfm'...\n",
      "remote: Enumerating objects: 233, done.\u001b[K\n",
      "remote: Total 233 (delta 0), reused 0 (delta 0), pack-reused 233\u001b[K\n",
      "Receiving objects: 100% (233/233), 126.86 KiB | 1.01 MiB/s, done.\n",
      "Resolving deltas: 100% (113/113), done.\n"
     ]
    }
   ],
   "source": [
    "# !wget http://www.libfm.org/libfm-1.42.src.tar.gz\n",
    "!git clone https://github.com/srendle/libfm.git"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 4061,
     "status": "ok",
     "timestamp": 1546518378930,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "lko9EbvDloYx",
    "outputId": "14ea303c-c4ac-4e17-bba5-5376cc6ce57d"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\u001b[0m\u001b[01;34mdrive\u001b[0m/  \u001b[01;34mlibfm\u001b[0m/  \u001b[01;34msample_data\u001b[0m/\n"
     ]
    }
   ],
   "source": [
    "ls"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "QPNrS8gApgzt"
   },
   "outputs": [],
   "source": [
    " #!tar -xzvf libfm-1.42.src.tar.gz"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 3705,
     "status": "ok",
     "timestamp": 1546518378932,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "AoYkwnpVpoKM",
    "outputId": "a9b01ef6-5a07-42f5-af4c-48d01aeb9e16"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "/content/libfm\n"
     ]
    }
   ],
   "source": [
    "cd libfm"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 221
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 18358,
     "status": "ok",
     "timestamp": 1546518393776,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "lLH7M-_Ops-V",
    "outputId": "33802ccb-512f-40d7-b8d4-fe73159e337a"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "cd src/libfm; make all\n",
      "make[1]: Entering directory '/content/libfm/src/libfm'\n",
      "g++ -O3 -Wall -c libfm.cpp -o libfm.o\n",
      "mkdir -p ../../bin/\n",
      "g++ -O3 -Wall libfm.o -o ../../bin/libFM\n",
      "g++ -O3 -Wall -c tools/transpose.cpp -o tools/transpose.o\n",
      "mkdir -p ../../bin/\n",
      "g++ -O3 tools/transpose.o -o ../../bin/transpose\n",
      "g++ -O3 -Wall -c tools/convert.cpp -o tools/convert.o\n",
      "mkdir -p ../../bin/\n",
      "g++ -O3 tools/convert.o -o ../../bin/convert\n",
      "make[1]: Leaving directory '/content/libfm/src/libfm'\n"
     ]
    }
   ],
   "source": [
    "#%cd libfm-1.42.src/\n",
    "#!ls\n",
    "!make all"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 18159,
     "status": "ok",
     "timestamp": 1546518393777,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "TbBd7BjGpxd-",
    "outputId": "84bbaf05-76ff-459c-ec3f-8fe80ca2cda5"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "/content/libfm/bin\n"
     ]
    }
   ],
   "source": [
    "cd bin"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 22157,
     "status": "ok",
     "timestamp": 1546518397920,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "a4q0pfoUp9DM",
    "outputId": "fe4f8a98-1506-47c4-b1ed-de5c4c6497d5"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\u001b[0m\u001b[01;32mconvert\u001b[0m*  \u001b[01;32mlibFM\u001b[0m*  \u001b[01;32mtranspose\u001b[0m*\n"
     ]
    }
   ],
   "source": [
    "# /content/libfm-1.42.src/bin\n",
    "#cd /content/libfm-1.42.src/bin/\n",
    "ls"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "53tcWj73rg1N"
   },
   "outputs": [],
   "source": [
    "LIBFM_PATH = '/content/libfm/bin/libFM'\n",
    "model_path = '/content/drive/My\\ Drive/colabnotebook/recsysmode.fm'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 578
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 3827,
     "status": "ok",
     "timestamp": 1546518455535,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "8LyBscFJs514",
    "outputId": "9f1a5dab-a4a5-4314-801d-5aaea63a74d6"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "----------------------------------------------------------------------------\n",
      "libFM\n",
      "  Version: 1.4.4\n",
      "  Author:  Steffen Rendle, srendle@libfm.org\n",
      "  WWW:     http://www.libfm.org/\n",
      "This program comes with ABSOLUTELY NO WARRANTY; for details see license.txt.\n",
      "This is free software, and you are welcome to redistribute it under certain\n",
      "conditions; for details see license.txt.\n",
      "----------------------------------------------------------------------------\n",
      "-cache_size     cache size for data storage (only applicable if data is\n",
      "                in binary format), default=infty\n",
      "-dim            'k0,k1,k2': k0=use bias, k1=use 1-way interactions,\n",
      "                k2=dim of 2-way interactions; default=1,1,8\n",
      "-help           this screen\n",
      "-init_stdev     stdev for initialization of 2-way factors; default=0.1\n",
      "-iter           number of iterations; default=100\n",
      "-learn_rate     learn_rate for SGD; default=0.1\n",
      "-load_model     filename for reading the FM model\n",
      "-meta           filename for meta information about data set\n",
      "-method         learning method (SGD, SGDA, ALS, MCMC); default=MCMC\n",
      "-out            filename for output\n",
      "-regular        'r0,r1,r2' for SGD and ALS: r0=bias regularization,\n",
      "                r1=1-way regularization, r2=2-way regularization\n",
      "-relation       BS: filenames for the relations, default=''\n",
      "-rlog           write measurements within iterations to a file;\n",
      "                default=''\n",
      "-save_model     filename for writing the FM model\n",
      "-seed           integer value, default=None\n",
      "-task           r=regression, c=binary classification [MANDATORY]\n",
      "-test           filename for test data [MANDATORY]\n",
      "-train          filename for training data [MANDATORY]\n",
      "-validation     filename for validation data (only for SGDA)\n",
      "-verbosity      how much infos to print; default=0\n"
     ]
    }
   ],
   "source": [
    "!$LIBFM_PATH"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "bWCWPj9sqFJ8"
   },
   "outputs": [],
   "source": [
    "def FM(train_file, test_file, classification=True, rank=10, n_iter=150):\n",
    "    task = 'c' if classification else 'r'\n",
    "    console_output = !$LIBFM_PATH -task $task -method mcmc -train $train_file -test $test_file -iter $n_iter -dim '1,1,$rank'  -out output_.libfm\n",
    "    #console_output = !$LIBFM_PATH -task $task -method als -regular '0,0,10' -train $train_file -test $test_file -iter $n_iter -dim '1,1,$rank' -save_model recsysmode.fm -out output_.libfm\n",
    "    #console_output = !$LIBFM_PATH -task $task -method sgd -train $train_file -test $test_file -iter $n_iter -dim '1,1,$rank' -save_model recsysmode.fm -out output_.libfm\n",
    "    print(console_output)\n",
    "    libfm_pred = pd.read_csv('output_.libfm', header=None).values.flatten()\n",
    "    return libfm_pred"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "ijrU3HFyAQWg"
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 54
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 227365,
     "status": "ok",
     "timestamp": 1546518693583,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "bdRCZdzqqwGS",
    "outputId": "2a9fb35a-b443-4b90-d4e2-1a9ab84348cd"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['----------------------------------------------------------------------------', 'libFM', '  Version: 1.4.4', '  Author:  Steffen Rendle, srendle@libfm.org', '  WWW:     http://www.libfm.org/', 'This program comes with ABSOLUTELY NO WARRANTY; for details see license.txt.', 'This is free software, and you are welcome to redistribute it under certain', 'conditions; for details see license.txt.', '----------------------------------------------------------------------------', 'Loading train...\\t', 'has x = 0', 'has xt = 1', 'num_rows=280000\\tnum_values=6371577\\tnum_features=75619\\tmin_target=1\\tmax_target=5', 'Loading test... \\t', 'has x = 0', 'has xt = 1', 'num_rows=9152\\tnum_values=210368\\tnum_features=75616\\tmin_target=1\\tmax_target=5', '#relations: 0', 'Loading meta data...\\t', '#Iter=  0\\tTrain=1.01452\\tTest=0.890629', '#Iter=  1\\tTrain=0.892031\\tTest=0.663158', '#Iter=  2\\tTrain=0.876464\\tTest=0.55274', '#Iter=  3\\tTrain=0.871274\\tTest=0.490338', '#Iter=  4\\tTrain=0.868145\\tTest=0.45136', '#Iter=  5\\tTrain=0.866241\\tTest=0.425289', '#Iter=  6\\tTrain=0.863716\\tTest=0.409053', '#Iter=  7\\tTrain=0.861866\\tTest=0.39688', '#Iter=  8\\tTrain=0.859769\\tTest=0.389392', '#Iter=  9\\tTrain=0.858909\\tTest=0.382396', '#Iter= 10\\tTrain=0.857158\\tTest=0.376957', '#Iter= 11\\tTrain=0.855871\\tTest=0.372286', '#Iter= 12\\tTrain=0.854298\\tTest=0.368145', '#Iter= 13\\tTrain=0.853987\\tTest=0.364164', '#Iter= 14\\tTrain=0.852789\\tTest=0.360826', '#Iter= 15\\tTrain=0.852637\\tTest=0.358273', '#Iter= 16\\tTrain=0.851279\\tTest=0.355325', '#Iter= 17\\tTrain=0.849881\\tTest=0.352691', '#Iter= 18\\tTrain=0.850015\\tTest=0.350718', '#Iter= 19\\tTrain=0.849584\\tTest=0.348719', '#Iter= 20\\tTrain=0.849643\\tTest=0.346604', '#Iter= 21\\tTrain=0.848737\\tTest=0.344592', '#Iter= 22\\tTrain=0.848808\\tTest=0.342577', '#Iter= 23\\tTrain=0.848337\\tTest=0.340636', '#Iter= 24\\tTrain=0.847621\\tTest=0.339204', '#Iter= 25\\tTrain=0.847687\\tTest=0.337732', '#Iter= 26\\tTrain=0.847144\\tTest=0.336423', '#Iter= 27\\tTrain=0.846682\\tTest=0.335031', '#Iter= 28\\tTrain=0.846564\\tTest=0.33394', '#Iter= 29\\tTrain=0.846317\\tTest=0.332796', '#Iter= 30\\tTrain=0.846002\\tTest=0.332045', '#Iter= 31\\tTrain=0.845611\\tTest=0.330931', '#Iter= 32\\tTrain=0.845902\\tTest=0.32994', '#Iter= 33\\tTrain=0.844957\\tTest=0.32897', '#Iter= 34\\tTrain=0.845363\\tTest=0.327965', '#Iter= 35\\tTrain=0.844956\\tTest=0.326842', '#Iter= 36\\tTrain=0.844463\\tTest=0.325889', '#Iter= 37\\tTrain=0.844208\\tTest=0.324751', '#Iter= 38\\tTrain=0.843906\\tTest=0.323933', '#Iter= 39\\tTrain=0.843754\\tTest=0.323171', '#Iter= 40\\tTrain=0.843342\\tTest=0.322456', '#Iter= 41\\tTrain=0.842929\\tTest=0.321818', '#Iter= 42\\tTrain=0.842752\\tTest=0.321197', '#Iter= 43\\tTrain=0.842333\\tTest=0.320638', '#Iter= 44\\tTrain=0.842228\\tTest=0.320275', '#Iter= 45\\tTrain=0.841798\\tTest=0.319736', '#Iter= 46\\tTrain=0.841728\\tTest=0.319167', '#Iter= 47\\tTrain=0.841597\\tTest=0.318565', '#Iter= 48\\tTrain=0.84162\\tTest=0.318042', '#Iter= 49\\tTrain=0.841529\\tTest=0.317307', '#Iter= 50\\tTrain=0.840054\\tTest=0.3167', '#Iter= 51\\tTrain=0.840508\\tTest=0.316235', '#Iter= 52\\tTrain=0.840285\\tTest=0.315618', '#Iter= 53\\tTrain=0.840392\\tTest=0.315053', '#Iter= 54\\tTrain=0.839959\\tTest=0.314592', '#Iter= 55\\tTrain=0.839198\\tTest=0.31428', '#Iter= 56\\tTrain=0.838716\\tTest=0.313937', '#Iter= 57\\tTrain=0.838447\\tTest=0.31357', '#Iter= 58\\tTrain=0.838092\\tTest=0.313298', '#Iter= 59\\tTrain=0.837444\\tTest=0.313017', '#Iter= 60\\tTrain=0.837068\\tTest=0.312747', '#Iter= 61\\tTrain=0.836561\\tTest=0.312452', '#Iter= 62\\tTrain=0.836372\\tTest=0.312068', '#Iter= 63\\tTrain=0.836426\\tTest=0.311752', '#Iter= 64\\tTrain=0.836162\\tTest=0.31151', '#Iter= 65\\tTrain=0.836148\\tTest=0.311262', '#Iter= 66\\tTrain=0.835866\\tTest=0.31092', '#Iter= 67\\tTrain=0.835245\\tTest=0.310705', '#Iter= 68\\tTrain=0.834926\\tTest=0.310427', '#Iter= 69\\tTrain=0.834628\\tTest=0.310137', '#Iter= 70\\tTrain=0.833729\\tTest=0.309921', '#Iter= 71\\tTrain=0.833644\\tTest=0.30959', '#Iter= 72\\tTrain=0.833364\\tTest=0.30929', '#Iter= 73\\tTrain=0.83362\\tTest=0.309038', '#Iter= 74\\tTrain=0.83253\\tTest=0.308857', '#Iter= 75\\tTrain=0.833062\\tTest=0.308628', '#Iter= 76\\tTrain=0.832741\\tTest=0.30844', '#Iter= 77\\tTrain=0.831517\\tTest=0.308278', '#Iter= 78\\tTrain=0.8312\\tTest=0.308056', '#Iter= 79\\tTrain=0.830558\\tTest=0.307815', '#Iter= 80\\tTrain=0.830527\\tTest=0.307542', '#Iter= 81\\tTrain=0.83027\\tTest=0.307246', '#Iter= 82\\tTrain=0.82933\\tTest=0.30692', '#Iter= 83\\tTrain=0.829191\\tTest=0.306722', '#Iter= 84\\tTrain=0.828877\\tTest=0.30649', '#Iter= 85\\tTrain=0.829559\\tTest=0.30626', '#Iter= 86\\tTrain=0.828282\\tTest=0.306003', '#Iter= 87\\tTrain=0.828134\\tTest=0.305714', '#Iter= 88\\tTrain=0.827099\\tTest=0.305512', '#Iter= 89\\tTrain=0.826225\\tTest=0.305213', '#Iter= 90\\tTrain=0.825132\\tTest=0.304976', '#Iter= 91\\tTrain=0.824059\\tTest=0.304793', '#Iter= 92\\tTrain=0.823557\\tTest=0.304577', '#Iter= 93\\tTrain=0.823692\\tTest=0.304378', '#Iter= 94\\tTrain=0.823281\\tTest=0.304173', '#Iter= 95\\tTrain=0.822318\\tTest=0.303918', '#Iter= 96\\tTrain=0.820399\\tTest=0.303706', '#Iter= 97\\tTrain=0.820739\\tTest=0.303495', '#Iter= 98\\tTrain=0.819729\\tTest=0.303263', '#Iter= 99\\tTrain=0.818734\\tTest=0.302992', '#Iter=100\\tTrain=0.818642\\tTest=0.30276', '#Iter=101\\tTrain=0.818455\\tTest=0.302509', '#Iter=102\\tTrain=0.818081\\tTest=0.302313', '#Iter=103\\tTrain=0.816964\\tTest=0.302121', '#Iter=104\\tTrain=0.816384\\tTest=0.301915', '#Iter=105\\tTrain=0.815349\\tTest=0.301641', '#Iter=106\\tTrain=0.814405\\tTest=0.301394', '#Iter=107\\tTrain=0.813846\\tTest=0.301187', '#Iter=108\\tTrain=0.813869\\tTest=0.300911', '#Iter=109\\tTrain=0.812327\\tTest=0.300672', '#Iter=110\\tTrain=0.812539\\tTest=0.300456', '#Iter=111\\tTrain=0.813028\\tTest=0.300212', '#Iter=112\\tTrain=0.81073\\tTest=0.300022', '#Iter=113\\tTrain=0.810325\\tTest=0.299856', '#Iter=114\\tTrain=0.809163\\tTest=0.299653', '#Iter=115\\tTrain=0.80809\\tTest=0.299513', '#Iter=116\\tTrain=0.808267\\tTest=0.299332', '#Iter=117\\tTrain=0.807807\\tTest=0.299196', '#Iter=118\\tTrain=0.806707\\tTest=0.299003', '#Iter=119\\tTrain=0.80644\\tTest=0.298879', '#Iter=120\\tTrain=0.806213\\tTest=0.298708', '#Iter=121\\tTrain=0.805813\\tTest=0.298518', '#Iter=122\\tTrain=0.805164\\tTest=0.298354', '#Iter=123\\tTrain=0.80554\\tTest=0.298288', '#Iter=124\\tTrain=0.804707\\tTest=0.298111', '#Iter=125\\tTrain=0.804323\\tTest=0.29796', '#Iter=126\\tTrain=0.80366\\tTest=0.297828', '#Iter=127\\tTrain=0.803182\\tTest=0.297708', '#Iter=128\\tTrain=0.803205\\tTest=0.297554', '#Iter=129\\tTrain=0.802823\\tTest=0.297378', '#Iter=130\\tTrain=0.802491\\tTest=0.297182', '#Iter=131\\tTrain=0.802236\\tTest=0.297014', '#Iter=132\\tTrain=0.801736\\tTest=0.296828', '#Iter=133\\tTrain=0.801267\\tTest=0.296652', '#Iter=134\\tTrain=0.801098\\tTest=0.296475', '#Iter=135\\tTrain=0.801036\\tTest=0.296307', '#Iter=136\\tTrain=0.800896\\tTest=0.296186', '#Iter=137\\tTrain=0.800412\\tTest=0.296063', '#Iter=138\\tTrain=0.800397\\tTest=0.295926', '#Iter=139\\tTrain=0.799815\\tTest=0.295802', '#Iter=140\\tTrain=0.798848\\tTest=0.295706', '#Iter=141\\tTrain=0.79897\\tTest=0.295553', '#Iter=142\\tTrain=0.799084\\tTest=0.295465', '#Iter=143\\tTrain=0.798128\\tTest=0.295401', '#Iter=144\\tTrain=0.798342\\tTest=0.295269', '#Iter=145\\tTrain=0.798554\\tTest=0.295161', '#Iter=146\\tTrain=0.79779\\tTest=0.295083', '#Iter=147\\tTrain=0.797289\\tTest=0.294956', '#Iter=148\\tTrain=0.797838\\tTest=0.294852', '#Iter=149\\tTrain=0.797072\\tTest=0.294716']\n"
     ]
    }
   ],
   "source": [
    "#train_file = '/content/drive/My\\ Drive/colabnotebook/recsys_train.txt'\n",
    "#test_file = '/content/drive/My\\ Drive/colabnotebook/recsys_test.txt'\n",
    "\n",
    "train_file = '/content/drive/My\\ Drive/colabnotebook/recsys_train_scaling.txt'\n",
    "test_file = '/content/drive/My\\ Drive/colabnotebook/recsys_test_scaling.txt'\n",
    "\n",
    "libfm_predict = FM(train_file, test_file, classification=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "mP0mkrLku7qH"
   },
   "outputs": [],
   "source": [
    "#train_file_without_escape = '/content/drive/My Drive/colabnotebook/recsys_test.txt'\n",
    "train_file_without_escape_path = '/content/drive/My Drive/colabnotebook/recsys_test_scaling.txt'\n",
    "\n",
    "def get_test_data(path):\n",
    "    data = load_svmlight_file(path)\n",
    "    return data[0], data[1]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "bq_FTh58pHlo"
   },
   "outputs": [],
   "source": [
    "X, y = get_test_data(train_file_without_escape_path)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 690,
     "status": "ok",
     "timestamp": 1546518765537,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "gyXkwNcfvPCn",
    "outputId": "dcc8b1a1-6655-46cd-a6e8-863ccb514db6"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([2., 2., 2., ..., 5., 4., 4.])"
      ]
     },
     "execution_count": 20,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "y"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "qj7BA_Si_y-f"
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "4VWXqv7ovkO1"
   },
   "outputs": [],
   "source": [
    "libfm_predict_series = pd.Series(libfm_predict)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "7CRAxgNVv2uG"
   },
   "outputs": [],
   "source": [
    "libfm_predict_series_int = libfm_predict_series.apply(lambda x:int(x))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 17034
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 930,
     "status": "ok",
     "timestamp": 1546518777563,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "5nbN4IWmv9OW",
    "outputId": "134d780e-c52f-4102-a9b9-648a1cb84416"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 3,\n",
       " 3,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 3,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 3,\n",
       " 3,\n",
       " 4,\n",
       " 3,\n",
       " 4,\n",
       " 2,\n",
       " 3,\n",
       " 3,\n",
       " 4,\n",
       " 3,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 3,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 4,\n",
       " 3,\n",
       " 4,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 3,\n",
       " ...]"
      ]
     },
     "execution_count": 24,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "libfm_predict_series_int.tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 1144,
     "status": "ok",
     "timestamp": 1546518783500,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "hqUC-WK__4C1",
    "outputId": "26431487-506d-49e6-9f80-6d8a62d4632a"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([2., 2., 2., ..., 5., 4., 4.])"
      ]
     },
     "execution_count": 25,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "y"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "i5t8UgTRwG7N"
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 1109,
     "status": "ok",
     "timestamp": 1546518784522,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "LMBNGhk8rVQn",
    "outputId": "82567af4-35eb-4a56-938a-963494c9013e"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0.502076048951049"
      ]
     },
     "execution_count": 26,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "mean_squared_error(y, libfm_predict_series_int.tolist())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "DjX4a8s7pm84"
   },
   "outputs": [],
   "source": [
    "#libfm_predict_series"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 588,
     "status": "ok",
     "timestamp": 1546518786671,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "i24SrPPQpUVg",
    "outputId": "3293f3c2-ad54-4aa5-f4d3-fdd54cdf3f36"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0.08685760569920237"
      ]
     },
     "execution_count": 28,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "mean_squared_error(y, libfm_predict_series.tolist())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "WUnC8-MeulWQ"
   },
   "outputs": [],
   "source": [
    "# mse 0.5673076923076923"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 537,
     "status": "ok",
     "timestamp": 1546518789204,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "XcacNKW_p0gl",
    "outputId": "ef73cfce-b114-4852-b9fe-f98daff9a853"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([2., 2., 2., 2., 2., 1., 1., 2., 2., 2.])"
      ]
     },
     "execution_count": 30,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "y[0:10]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 1071
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 700,
     "status": "ok",
     "timestamp": 1546518789720,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "m2FDgodCp2fE",
    "outputId": "760a6c06-64e5-4eab-f706-3979d4c1dd08"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "100    1.97529\n",
       "101    1.97529\n",
       "102    2.18110\n",
       "103    2.18110\n",
       "104    2.12399\n",
       "105    2.12399\n",
       "106    1.13479\n",
       "107    1.13479\n",
       "108    2.28783\n",
       "109    2.28783\n",
       "110    1.55382\n",
       "111    1.55382\n",
       "112    1.57852\n",
       "113    1.95209\n",
       "114    1.95209\n",
       "115    2.11365\n",
       "116    2.11365\n",
       "117    1.88502\n",
       "118    1.88502\n",
       "119    1.92887\n",
       "120    1.92887\n",
       "121    2.12270\n",
       "122    2.12270\n",
       "123    1.83748\n",
       "124    1.83748\n",
       "125    1.91633\n",
       "126    1.91633\n",
       "127    1.96745\n",
       "128    1.96745\n",
       "129    1.96745\n",
       "        ...   \n",
       "470    1.80736\n",
       "471    2.27779\n",
       "472    2.27779\n",
       "473    1.87991\n",
       "474    1.02377\n",
       "475    1.05935\n",
       "476    1.76910\n",
       "477    1.73278\n",
       "478    1.73839\n",
       "479    1.67171\n",
       "480    1.96251\n",
       "481    2.04542\n",
       "482    1.26207\n",
       "483    2.12236\n",
       "484    1.64691\n",
       "485    4.03943\n",
       "486    4.93219\n",
       "487    4.94244\n",
       "488    4.94952\n",
       "489    4.93831\n",
       "490    4.03264\n",
       "491    4.94984\n",
       "492    4.92404\n",
       "493    4.93621\n",
       "494    4.11513\n",
       "495    4.96065\n",
       "496    4.94856\n",
       "497    4.93610\n",
       "498    4.95667\n",
       "499    4.94818\n",
       "Length: 400, dtype: float64"
      ]
     },
     "execution_count": 31,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "libfm_predict_series[100:500]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "c0cqCiru4jYt"
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "ZmYkr3aEKwfs"
   },
   "outputs": [],
   "source": [
    "def get_connection():\n",
    "    return pymysql.connect(host='rm-2zeqqm6994abi7b6dqo.mysql.rds.aliyuncs.com',\n",
    "                               user='noone',\n",
    "                               password='Huawei12#$',\n",
    "                               db='recsys',\n",
    "                               port=3306,\n",
    "                               charset ='utf8',\n",
    "                               use_unicode=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "e50cXhH03hAW"
   },
   "outputs": [],
   "source": [
    "userid_collection = pd.read_sql_query(\"select id from system_user\", get_connection())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "_eTP6X7T4nMk"
   },
   "outputs": [],
   "source": [
    "#for userid in userid_collection['id'].tolist():\n",
    "  #userproex_sql = 'select * from userproex_new where userid = \\'%s\\'' % userid\n",
    "  #movie_sql = 'select * from movie where id in (select DISTINCT movieid from recmovie where userid=\\'%s\\')' % userid\n",
    "  #movie_sql = 'select * from movie left join recmovie on movie.id=recmovie.movieid where recmovie.userid = \\'%s\\'' % userid\n",
    "  #df_user_pro = pd.read_sql_query(userproex_sql, get_connection())\n",
    "  #df_movie = pd.read_sql_query(movie_sql, get_connection())\n",
    "  #df_data = pd.merge(df_movie, df_user_pro, how='left', left_on=['userid'], right_on=['userid']) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 1009
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 4084,
     "status": "ok",
     "timestamp": 1546518800334,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "u1xc-QFRGfPZ",
    "outputId": "94e20923-799f-419c-a077-eb0ad3b56d4b"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Index(['id', 'userid', 'movieid', 'rectime', 'lrrat', 'fmrat', 'srcmovieid',\n",
      "       'id', 'name', 'ADD_TIME', 'type', 'actors', 'region', 'director',\n",
      "       'trait', 'rat', 'enable', 'description', 'img', 'userid', 'rmax',\n",
      "       'rmin', 'ravg', 'rcount', 'rsum', 'rmedian'],\n",
      "      dtype='object')\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>6</th>\n",
       "      <th>7</th>\n",
       "      <th>8</th>\n",
       "      <th>9</th>\n",
       "      <th>...</th>\n",
       "      <th>358</th>\n",
       "      <th>359</th>\n",
       "      <th>360</th>\n",
       "      <th>361</th>\n",
       "      <th>362</th>\n",
       "      <th>363</th>\n",
       "      <th>364</th>\n",
       "      <th>365</th>\n",
       "      <th>366</th>\n",
       "      <th>367</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>id</th>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>2</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>7</td>\n",
       "      <td>ae80cb2c-99c4-4797-9255-d5fd4a839a89</td>\n",
       "      <td>f39e0456-95dc-4d2f-8c28-4e133f0373fa</td>\n",
       "      <td>3642bc8f-4db7-4070-b42a-ba3a3e86ebc2</td>\n",
       "      <td>8a82a843-4855-4166-84bb-df1dd863f473</td>\n",
       "      <td>...</td>\n",
       "      <td>c34d35a8-311a-4104-8928-f681d21cb772</td>\n",
       "      <td>c345df00-0477-492c-a54c-d9891fdd9191</td>\n",
       "      <td>0fd2493e-fa20-4b83-be0e-11d103173ce9</td>\n",
       "      <td>162643e3-2267-4868-bf82-cc93077b8042</td>\n",
       "      <td>77ac2672-0a53-476e-b7a4-96483eb4d438</td>\n",
       "      <td>b0796180-1a2a-417f-963b-fb569ca6a3de</td>\n",
       "      <td>1f38ed3d-b0b8-4231-b63f-24e7b4d2c75d</td>\n",
       "      <td>84b9f462-2316-48d4-8246-fccc3e6686d1</td>\n",
       "      <td>6de81408-671f-44a4-8647-710c20990ca0</td>\n",
       "      <td>48fcb7d2-c6da-4b54-a2cd-cc089d1732a6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>USERID</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>...</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>movieid</th>\n",
       "      <td>10001432</td>\n",
       "      <td>10438426</td>\n",
       "      <td>10430817</td>\n",
       "      <td>10428476</td>\n",
       "      <td>10480973</td>\n",
       "      <td>10430817</td>\n",
       "      <td>1293143</td>\n",
       "      <td>1298574</td>\n",
       "      <td>26279449</td>\n",
       "      <td>1300077</td>\n",
       "      <td>...</td>\n",
       "      <td>4861404</td>\n",
       "      <td>1506769</td>\n",
       "      <td>26801782</td>\n",
       "      <td>6876154</td>\n",
       "      <td>25920885</td>\n",
       "      <td>1483239</td>\n",
       "      <td>1293828</td>\n",
       "      <td>25925430</td>\n",
       "      <td>1292288</td>\n",
       "      <td>25824009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>rectime</th>\n",
       "      <td>2019-01-03 17:15:16</td>\n",
       "      <td>2019-01-03 17:15:16</td>\n",
       "      <td>2019-01-03 17:15:16</td>\n",
       "      <td>2019-01-03 17:15:17</td>\n",
       "      <td>2019-01-03 17:15:17</td>\n",
       "      <td>2019-01-03 17:15:17</td>\n",
       "      <td>2019-01-03 17:15:17</td>\n",
       "      <td>2019-01-03 17:15:18</td>\n",
       "      <td>2019-01-03 17:15:18</td>\n",
       "      <td>2019-01-03 17:15:18</td>\n",
       "      <td>...</td>\n",
       "      <td>2019-01-03 17:16:13</td>\n",
       "      <td>2019-01-03 17:16:13</td>\n",
       "      <td>2019-01-03 17:16:13</td>\n",
       "      <td>2019-01-03 17:16:13</td>\n",
       "      <td>2019-01-03 17:16:14</td>\n",
       "      <td>2019-01-03 17:16:14</td>\n",
       "      <td>2019-01-03 17:16:14</td>\n",
       "      <td>2019-01-03 17:16:14</td>\n",
       "      <td>2019-01-03 17:16:14</td>\n",
       "      <td>2019-01-03 17:16:14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>lrrat</th>\n",
       "      <td>0.9566560968670121</td>\n",
       "      <td>0.7094158164093888</td>\n",
       "      <td>0.9246206977608482</td>\n",
       "      <td>0.9709013664018189</td>\n",
       "      <td>0.9943388169360198</td>\n",
       "      <td>0.9923293856012846</td>\n",
       "      <td>0.9892911847499388</td>\n",
       "      <td>0.9917181316565221</td>\n",
       "      <td>0.9779553256545537</td>\n",
       "      <td>0.9882757142751645</td>\n",
       "      <td>...</td>\n",
       "      <td>0.9804026653224612</td>\n",
       "      <td>0.9922989548864766</td>\n",
       "      <td>0.994322264278463</td>\n",
       "      <td>0.9871967461477341</td>\n",
       "      <td>0.9838058080674467</td>\n",
       "      <td>0.9864132321966126</td>\n",
       "      <td>0.9951047425199501</td>\n",
       "      <td>0.9907983080150248</td>\n",
       "      <td>0.9897209977315697</td>\n",
       "      <td>0.9411134313614328</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>fmrat</th>\n",
       "      <td>5.0</td>\n",
       "      <td>4.9844599999999994</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.013330000000001</td>\n",
       "      <td>4.01579</td>\n",
       "      <td>4.013330000000001</td>\n",
       "      <td>4.01565</td>\n",
       "      <td>4.0202800000000005</td>\n",
       "      <td>4.01428</td>\n",
       "      <td>4.03078</td>\n",
       "      <td>...</td>\n",
       "      <td>4.013330000000001</td>\n",
       "      <td>3.99511</td>\n",
       "      <td>3.9866699999999997</td>\n",
       "      <td>4.013330000000001</td>\n",
       "      <td>4.0149300000000006</td>\n",
       "      <td>4.01015</td>\n",
       "      <td>4.013330000000001</td>\n",
       "      <td>3.9866699999999997</td>\n",
       "      <td>4.00569</td>\n",
       "      <td>4.01436</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>srcmovieid</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>1294941</td>\n",
       "      <td>1294941</td>\n",
       "      <td>1294941</td>\n",
       "      <td>1294941</td>\n",
       "      <td>...</td>\n",
       "      <td>10727641</td>\n",
       "      <td>10727641</td>\n",
       "      <td>10727641</td>\n",
       "      <td>10727641</td>\n",
       "      <td>10727641</td>\n",
       "      <td>10727641</td>\n",
       "      <td>10727641</td>\n",
       "      <td>10727641</td>\n",
       "      <td>10727641</td>\n",
       "      <td>10727641</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>name</th>\n",
       "      <td>颠倒的帕特玛</td>\n",
       "      <td>浮城谜事</td>\n",
       "      <td>隐墙</td>\n",
       "      <td>小屁孩日记3</td>\n",
       "      <td>圣斗士星矢：圣域传说</td>\n",
       "      <td>隐墙</td>\n",
       "      <td>13号星期五</td>\n",
       "      <td>机器战警2</td>\n",
       "      <td>蒸发太平洋</td>\n",
       "      <td>鬼娃回魂</td>\n",
       "      <td>...</td>\n",
       "      <td>超能力者</td>\n",
       "      <td>ABC谋杀案</td>\n",
       "      <td>缉枪</td>\n",
       "      <td>国家利益</td>\n",
       "      <td>神探夏洛克：可恶的新娘</td>\n",
       "      <td>夺命枪火</td>\n",
       "      <td>007之金手指</td>\n",
       "      <td>真相</td>\n",
       "      <td>公民凯恩</td>\n",
       "      <td>脑残粉</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>ADD_TIME</th>\n",
       "      <td>2018-02-07 20:46:08</td>\n",
       "      <td>2018-02-07 20:26:53</td>\n",
       "      <td>2018-02-07 21:03:06</td>\n",
       "      <td>2018-02-07 20:47:00</td>\n",
       "      <td>2018-02-07 20:38:14</td>\n",
       "      <td>2018-02-07 21:03:06</td>\n",
       "      <td>2018-02-07 20:55:17</td>\n",
       "      <td>2018-02-07 20:43:08</td>\n",
       "      <td>2018-02-07 20:46:29</td>\n",
       "      <td>2018-02-07 20:41:36</td>\n",
       "      <td>...</td>\n",
       "      <td>2018-02-07 20:53:16</td>\n",
       "      <td>2018-02-07 21:03:17</td>\n",
       "      <td>2018-02-07 20:54:01</td>\n",
       "      <td>2018-02-07 20:49:14</td>\n",
       "      <td>2018-02-07 20:22:24</td>\n",
       "      <td>2018-02-07 20:37:16</td>\n",
       "      <td>2018-02-07 20:41:36</td>\n",
       "      <td>2018-02-07 20:52:29</td>\n",
       "      <td>Fri Jan  5 11:36:09 2018</td>\n",
       "      <td>2018-02-07 20:56:03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>type</th>\n",
       "      <td>剧情|冒险|科幻|爱情</td>\n",
       "      <td>剧情|犯罪|悬疑|爱情</td>\n",
       "      <td>剧情|奇幻|悬疑|科幻</td>\n",
       "      <td>剧情|喜剧</td>\n",
       "      <td>奇幻|冒险|科幻|动作</td>\n",
       "      <td>剧情|奇幻|悬疑|科幻</td>\n",
       "      <td>悬疑|犯罪|惊悚|恐怖</td>\n",
       "      <td>犯罪|科幻|惊悚|动作</td>\n",
       "      <td>惊悚|剧情|犯罪|悬疑|科幻|冒险|动作</td>\n",
       "      <td>悬疑|惊悚|恐怖</td>\n",
       "      <td>...</td>\n",
       "      <td>奇幻|惊悚|剧情|犯罪|悬疑|科幻|动作</td>\n",
       "      <td>剧情|犯罪|悬疑</td>\n",
       "      <td>剧情|犯罪|悬疑|动作</td>\n",
       "      <td>惊悚|爱情|剧情|犯罪|悬疑|动作</td>\n",
       "      <td>剧情|犯罪|悬疑|惊悚</td>\n",
       "      <td>惊悚|剧情|犯罪|悬疑|冒险|动作</td>\n",
       "      <td>犯罪|冒险|惊悚|动作</td>\n",
       "      <td>剧情|犯罪|悬疑|传记|历史</td>\n",
       "      <td>剧情|犯罪|悬疑|传记</td>\n",
       "      <td>惊悚|剧情|犯罪|悬疑|喜剧|歌舞|恐怖|动作</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>actors</th>\n",
       "      <td>藤井雪代|冈本信彦|大畑伸太郎|福松进纱|加藤将之</td>\n",
       "      <td>郝蕾|秦昊|齐溪|朱亚文|祖锋</td>\n",
       "      <td>马蒂娜·格德克|Karlheinz Hackl|Wolfgang M|Bauer|Ulrik...</td>\n",
       "      <td>扎克瑞·戈登|瑞秋·哈里斯|戴文·博斯蒂克|罗伯特·卡普荣|佩顿·李斯特</td>\n",
       "      <td>石川界人|赤羽根健治|小野贤章|冈本信彦|野岛健儿</td>\n",
       "      <td>马蒂娜·格德克|Karlheinz Hackl|Wolfgang M|Bauer|Ulrik...</td>\n",
       "      <td>贝丝蒂·帕尔默|凯文·贝肯</td>\n",
       "      <td>彼得·威勒|南茜·艾伦|加布里埃尔·达蒙|莉扎·吉邦斯</td>\n",
       "      <td>布兰登·罗斯|张雨绮|王盛德|维森特·M|沃德|戴向宇</td>\n",
       "      <td>凯瑟琳·海克丝|克里斯·萨兰登|艾力克斯·文森特|布拉德·道里夫|黛娜·马诺夫</td>\n",
       "      <td>...</td>\n",
       "      <td>姜栋元|高修|郑恩彩</td>\n",
       "      <td>大卫·苏切|休·弗拉瑟|菲利普·杰克森</td>\n",
       "      <td>白举纲|热依扎|连奕名|任东霖|童苡萱</td>\n",
       "      <td>米卡埃尔·佩斯布兰特|萨巴·穆巴拉克|大卫·丹席克|潘妮拉·奥古斯特|杰森·弗莱明</td>\n",
       "      <td>本尼迪克特·康伯巴奇|马丁·弗瑞曼|尤娜·斯塔布斯|鲁珀特·格雷夫斯|马克·加蒂斯</td>\n",
       "      <td>保罗·沃克|卡梅隆·布莱特|维拉·法米加|查兹·帕尔明特瑞|卡瑞尔·罗登</td>\n",
       "      <td>肖恩·康纳利|霍纳尔·布莱克曼|杰特·弗罗比|雪莉·伊顿|坦妮娅·玛蕾特</td>\n",
       "      <td>何家勁|郭可盈|金超群</td>\n",
       "      <td>Richard Ben Cramer|威廉·阿伦德|彼得·博格丹诺维奇</td>\n",
       "      <td>沙鲁克·汗|瓦妮·卡普尔|保罗·布莱克维尔|玛瑞沃拉·嘉沃斯卡|李·尼古拉斯·哈里斯</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>region</th>\n",
       "      <td>日本</td>\n",
       "      <td>法国</td>\n",
       "      <td>德国</td>\n",
       "      <td>加拿大</td>\n",
       "      <td>日本</td>\n",
       "      <td>德国</td>\n",
       "      <td>美国</td>\n",
       "      <td>美国</td>\n",
       "      <td>美国</td>\n",
       "      <td>美国</td>\n",
       "      <td>...</td>\n",
       "      <td>韩国</td>\n",
       "      <td>英国</td>\n",
       "      <td>中国大陆</td>\n",
       "      <td>瑞典</td>\n",
       "      <td>英国</td>\n",
       "      <td>德国</td>\n",
       "      <td>英国</td>\n",
       "      <td>香港</td>\n",
       "      <td>美国</td>\n",
       "      <td>印度</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>director</th>\n",
       "      <td>吉浦康裕</td>\n",
       "      <td>娄烨</td>\n",
       "      <td>Julian Pölsler</td>\n",
       "      <td>大卫·博维斯</td>\n",
       "      <td>佐藤敬一</td>\n",
       "      <td>Julian Pölsler</td>\n",
       "      <td>肖恩·S·坎宁安</td>\n",
       "      <td>厄文·克什纳</td>\n",
       "      <td>周文武贝</td>\n",
       "      <td>汤姆·霍兰德</td>\n",
       "      <td>...</td>\n",
       "      <td>金民锡</td>\n",
       "      <td>安德鲁·格里弗</td>\n",
       "      <td>徐兵</td>\n",
       "      <td>凯瑟琳·温德菲尔德</td>\n",
       "      <td>道格拉斯·麦金农</td>\n",
       "      <td>韦恩·克雷默</td>\n",
       "      <td>盖伊·汉弥尔顿</td>\n",
       "      <td>邱禮濤</td>\n",
       "      <td>Michael Epstein|Thomas Lennon</td>\n",
       "      <td>玛尼什·莎玛</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>trait</th>\n",
       "      <td>青春</td>\n",
       "      <td>女性|文艺</td>\n",
       "      <td>文艺</td>\n",
       "      <td>青春|搞笑</td>\n",
       "      <td>青春|经典|魔幻</td>\n",
       "      <td>文艺</td>\n",
       "      <td>经典</td>\n",
       "      <td>经典</td>\n",
       "      <td>搞笑</td>\n",
       "      <td>经典</td>\n",
       "      <td>...</td>\n",
       "      <td>魔幻</td>\n",
       "      <td>经典</td>\n",
       "      <td>经典</td>\n",
       "      <td>经典</td>\n",
       "      <td>经典</td>\n",
       "      <td>黑帮</td>\n",
       "      <td>经典</td>\n",
       "      <td>女性|经典|文艺</td>\n",
       "      <td>经典</td>\n",
       "      <td>搞笑</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>rat</th>\n",
       "      <td>7.9</td>\n",
       "      <td>7.3</td>\n",
       "      <td>7.4</td>\n",
       "      <td>6.7</td>\n",
       "      <td>6.3</td>\n",
       "      <td>7.4</td>\n",
       "      <td>6.3</td>\n",
       "      <td>6.9</td>\n",
       "      <td>3.4</td>\n",
       "      <td>6.8</td>\n",
       "      <td>...</td>\n",
       "      <td>5.7</td>\n",
       "      <td>8.1</td>\n",
       "      <td>6.3</td>\n",
       "      <td>6.7</td>\n",
       "      <td>6.9</td>\n",
       "      <td>7.7</td>\n",
       "      <td>7.1</td>\n",
       "      <td>7.7</td>\n",
       "      <td>7.6</td>\n",
       "      <td>6.6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>enable</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>description</th>\n",
       "      <td>在秩序井然的艾嘉王国，人类谨遵祖先的教训，绝不抬头仰望苍穹，放纵思绪流淌狂奔。传说在很久以前...</td>\n",
       "      <td>警察童明松（祖锋 饰）负责调查一起车祸，大学生蚊子（常方源 饰） 意外惨死，童明松决定同哥们...</td>\n",
       "      <td>\"影片的主人公是一位并没有给出姓名的女人(马蒂娜·戈黛特《他人的生活》饰演)。她和两位朋友以...</td>\n",
       "      <td>又是一年暑假，顺利结束七年级学业的格雷格·赫夫利（扎克瑞·戈登 Zachary Gordon...</td>\n",
       "      <td>16年前，射手座黄金圣斗士艾欧洛斯怀抱真正的女神转世雅典娜逃出圣域，途中遭到双子座撒卡和摩羯...</td>\n",
       "      <td>\"影片的主人公是一位并没有给出姓名的女人(马蒂娜·戈黛特《他人的生活》饰演)。她和两位朋友以...</td>\n",
       "      <td>1958年，水晶湖营地发生一起两人死亡的命案，而这只是陆续发生在水晶湖旁的一系列凶案和怪事之...</td>\n",
       "      <td>在这部续集中，生产机械战警的泛消费公司掌控着底特律城的治安，警察们因薪水迟迟不能到位而举行罢...</td>\n",
       "      <td>《蒸发太平洋》讲述了一个发生于2020年的科幻冒险故事，一架大洋航空新客机在首航中遭遇意外，...</td>\n",
       "      <td>美国芝加哥的午夜，杀人犯雷在警探迈克（克里斯·萨兰登 Chris Sarandon ）的追捕...</td>\n",
       "      <td>...</td>\n",
       "      <td>从小，楚仁（姜东元饰）就知道自己拥有能够控制人心的超能力，凡是被他的双眼所正视的人，无一...</td>\n",
       "      <td>一个比波罗更强调秩序的人出现了。三个字母，三个地点，三宗凶案，三具尸体。 A代表第一个被谋杀...</td>\n",
       "      <td>一次普通的车辆剐蹭事故里，俞苗老公刘明义拿枪打死了徐天的女朋友，被警察当场击毙。徐天找俞苗赔...</td>\n",
       "      <td>本片被称为瑞典版007，男主角主演的《更好的世界》曾获得83届奥斯卡最佳外语片大奖。　　...</td>\n",
       "      <td>《神探夏洛克》（Sherlock）2016年推出特别篇，福尔摩斯回归原著维多利亚时代，调查一...</td>\n",
       "      <td>表面上看来，乔伊（保罗·沃克 Paul Walker 饰）过着人人羡慕的美满生活，温馨的房子...</td>\n",
       "      <td>世界各国突然出现黄金大量流失的现象，而黄金的黑市交易却十分兴盛。英国情报部怀疑世界巨富金手指...</td>\n",
       "      <td>索尼卖下《真相》的北美发行权，影片由凯特·布兰切特和罗伯特·雷德福主演，改编自《真相与责任：...</td>\n",
       "      <td>美国报业大亨凯恩（奥森•韦尔斯）在桑拿都庄园中留下“玫瑰花蕾”的“遗言”死去后，一位青年记者...</td>\n",
       "      <td>高瑞夫（沙鲁克·汗 饰）是德里一个网吧的小老板，自小就是超级巨星阿利安•坎纳（沙鲁克·汗 饰...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>img</th>\n",
       "      <td>https://img1.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img1.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img1.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img1.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img1.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img1.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "      <td>https://img3.doubanio.com/view/photo/s_ratio_p...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>rmax</th>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>rmin</th>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>ravg</th>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>...</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>3.85714</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>rcount</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>...</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>rsum</th>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>...</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "      <td>27</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>rmedian</th>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>TIME_DIS</th>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>25 rows × 368 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                           0    \\\n",
       "id                                                           1   \n",
       "USERID                                                       1   \n",
       "movieid                                               10001432   \n",
       "rectime                                    2019-01-03 17:15:16   \n",
       "lrrat                                       0.9566560968670121   \n",
       "fmrat                                                      5.0   \n",
       "srcmovieid                                                       \n",
       "name                                                    颠倒的帕特玛   \n",
       "ADD_TIME                                   2018-02-07 20:46:08   \n",
       "type                                               剧情|冒险|科幻|爱情   \n",
       "actors                               藤井雪代|冈本信彦|大畑伸太郎|福松进纱|加藤将之   \n",
       "region                                                      日本   \n",
       "director                                                  吉浦康裕   \n",
       "trait                                                       青春   \n",
       "rat                                                        7.9   \n",
       "enable                                                       1   \n",
       "description  在秩序井然的艾嘉王国，人类谨遵祖先的教训，绝不抬头仰望苍穹，放纵思绪流淌狂奔。传说在很久以前...   \n",
       "img          https://img1.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         3   \n",
       "rmin                                                         3   \n",
       "ravg                                                         3   \n",
       "rcount                                                       1   \n",
       "rsum                                                         3   \n",
       "rmedian                                                      3   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           1    \\\n",
       "id                                                           4   \n",
       "USERID                                                       1   \n",
       "movieid                                               10438426   \n",
       "rectime                                    2019-01-03 17:15:16   \n",
       "lrrat                                       0.7094158164093888   \n",
       "fmrat                                       4.9844599999999994   \n",
       "srcmovieid                                                       \n",
       "name                                                      浮城谜事   \n",
       "ADD_TIME                                   2018-02-07 20:26:53   \n",
       "type                                               剧情|犯罪|悬疑|爱情   \n",
       "actors                                         郝蕾|秦昊|齐溪|朱亚文|祖锋   \n",
       "region                                                      法国   \n",
       "director                                                    娄烨   \n",
       "trait                                                    女性|文艺   \n",
       "rat                                                        7.3   \n",
       "enable                                                       1   \n",
       "description  警察童明松（祖锋 饰）负责调查一起车祸，大学生蚊子（常方源 饰） 意外惨死，童明松决定同哥们...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         3   \n",
       "rmin                                                         3   \n",
       "ravg                                                         3   \n",
       "rcount                                                       1   \n",
       "rsum                                                         3   \n",
       "rmedian                                                      3   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           2    \\\n",
       "id                                                           2   \n",
       "USERID                                                       1   \n",
       "movieid                                               10430817   \n",
       "rectime                                    2019-01-03 17:15:16   \n",
       "lrrat                                       0.9246206977608482   \n",
       "fmrat                                                      5.0   \n",
       "srcmovieid                                                       \n",
       "name                                                        隐墙   \n",
       "ADD_TIME                                   2018-02-07 21:03:06   \n",
       "type                                               剧情|奇幻|悬疑|科幻   \n",
       "actors       马蒂娜·格德克|Karlheinz Hackl|Wolfgang M|Bauer|Ulrik...   \n",
       "region                                                      德国   \n",
       "director                                        Julian Pölsler   \n",
       "trait                                                       文艺   \n",
       "rat                                                        7.4   \n",
       "enable                                                       1   \n",
       "description  \"影片的主人公是一位并没有给出姓名的女人(马蒂娜·戈黛特《他人的生活》饰演)。她和两位朋友以...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         3   \n",
       "rmin                                                         3   \n",
       "ravg                                                         3   \n",
       "rcount                                                       1   \n",
       "rsum                                                         3   \n",
       "rmedian                                                      3   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           3    \\\n",
       "id                                                           5   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                               10428476   \n",
       "rectime                                    2019-01-03 17:15:17   \n",
       "lrrat                                       0.9709013664018189   \n",
       "fmrat                                        4.013330000000001   \n",
       "srcmovieid                                                       \n",
       "name                                                    小屁孩日记3   \n",
       "ADD_TIME                                   2018-02-07 20:47:00   \n",
       "type                                                     剧情|喜剧   \n",
       "actors                    扎克瑞·戈登|瑞秋·哈里斯|戴文·博斯蒂克|罗伯特·卡普荣|佩顿·李斯特   \n",
       "region                                                     加拿大   \n",
       "director                                                大卫·博维斯   \n",
       "trait                                                    青春|搞笑   \n",
       "rat                                                        6.7   \n",
       "enable                                                       1   \n",
       "description  又是一年暑假，顺利结束七年级学业的格雷格·赫夫利（扎克瑞·戈登 Zachary Gordon...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           4    \\\n",
       "id                                                           6   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                               10480973   \n",
       "rectime                                    2019-01-03 17:15:17   \n",
       "lrrat                                       0.9943388169360198   \n",
       "fmrat                                                  4.01579   \n",
       "srcmovieid                                                       \n",
       "name                                                圣斗士星矢：圣域传说   \n",
       "ADD_TIME                                   2018-02-07 20:38:14   \n",
       "type                                               奇幻|冒险|科幻|动作   \n",
       "actors                               石川界人|赤羽根健治|小野贤章|冈本信彦|野岛健儿   \n",
       "region                                                      日本   \n",
       "director                                                  佐藤敬一   \n",
       "trait                                                 青春|经典|魔幻   \n",
       "rat                                                        6.3   \n",
       "enable                                                       1   \n",
       "description  16年前，射手座黄金圣斗士艾欧洛斯怀抱真正的女神转世雅典娜逃出圣域，途中遭到双子座撒卡和摩羯...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           5    \\\n",
       "id                                                           7   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                               10430817   \n",
       "rectime                                    2019-01-03 17:15:17   \n",
       "lrrat                                       0.9923293856012846   \n",
       "fmrat                                        4.013330000000001   \n",
       "srcmovieid                                                       \n",
       "name                                                        隐墙   \n",
       "ADD_TIME                                   2018-02-07 21:03:06   \n",
       "type                                               剧情|奇幻|悬疑|科幻   \n",
       "actors       马蒂娜·格德克|Karlheinz Hackl|Wolfgang M|Bauer|Ulrik...   \n",
       "region                                                      德国   \n",
       "director                                        Julian Pölsler   \n",
       "trait                                                       文艺   \n",
       "rat                                                        7.4   \n",
       "enable                                                       1   \n",
       "description  \"影片的主人公是一位并没有给出姓名的女人(马蒂娜·戈黛特《他人的生活》饰演)。她和两位朋友以...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           6    \\\n",
       "id                        ae80cb2c-99c4-4797-9255-d5fd4a839a89   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                                1293143   \n",
       "rectime                                    2019-01-03 17:15:17   \n",
       "lrrat                                       0.9892911847499388   \n",
       "fmrat                                                  4.01565   \n",
       "srcmovieid                                             1294941   \n",
       "name                                                    13号星期五   \n",
       "ADD_TIME                                   2018-02-07 20:55:17   \n",
       "type                                               悬疑|犯罪|惊悚|恐怖   \n",
       "actors                                           贝丝蒂·帕尔默|凯文·贝肯   \n",
       "region                                                      美国   \n",
       "director                                              肖恩·S·坎宁安   \n",
       "trait                                                       经典   \n",
       "rat                                                        6.3   \n",
       "enable                                                       1   \n",
       "description  1958年，水晶湖营地发生一起两人死亡的命案，而这只是陆续发生在水晶湖旁的一系列凶案和怪事之...   \n",
       "img          https://img1.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           7    \\\n",
       "id                        f39e0456-95dc-4d2f-8c28-4e133f0373fa   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                                1298574   \n",
       "rectime                                    2019-01-03 17:15:18   \n",
       "lrrat                                       0.9917181316565221   \n",
       "fmrat                                       4.0202800000000005   \n",
       "srcmovieid                                             1294941   \n",
       "name                                                     机器战警2   \n",
       "ADD_TIME                                   2018-02-07 20:43:08   \n",
       "type                                               犯罪|科幻|惊悚|动作   \n",
       "actors                             彼得·威勒|南茜·艾伦|加布里埃尔·达蒙|莉扎·吉邦斯   \n",
       "region                                                      美国   \n",
       "director                                                厄文·克什纳   \n",
       "trait                                                       经典   \n",
       "rat                                                        6.9   \n",
       "enable                                                       1   \n",
       "description  在这部续集中，生产机械战警的泛消费公司掌控着底特律城的治安，警察们因薪水迟迟不能到位而举行罢...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           8    \\\n",
       "id                        3642bc8f-4db7-4070-b42a-ba3a3e86ebc2   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                               26279449   \n",
       "rectime                                    2019-01-03 17:15:18   \n",
       "lrrat                                       0.9779553256545537   \n",
       "fmrat                                                  4.01428   \n",
       "srcmovieid                                             1294941   \n",
       "name                                                     蒸发太平洋   \n",
       "ADD_TIME                                   2018-02-07 20:46:29   \n",
       "type                                      惊悚|剧情|犯罪|悬疑|科幻|冒险|动作   \n",
       "actors                             布兰登·罗斯|张雨绮|王盛德|维森特·M|沃德|戴向宇   \n",
       "region                                                      美国   \n",
       "director                                                  周文武贝   \n",
       "trait                                                       搞笑   \n",
       "rat                                                        3.4   \n",
       "enable                                                       1   \n",
       "description  《蒸发太平洋》讲述了一个发生于2020年的科幻冒险故事，一架大洋航空新客机在首航中遭遇意外，...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           9    \\\n",
       "id                        8a82a843-4855-4166-84bb-df1dd863f473   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                                1300077   \n",
       "rectime                                    2019-01-03 17:15:18   \n",
       "lrrat                                       0.9882757142751645   \n",
       "fmrat                                                  4.03078   \n",
       "srcmovieid                                             1294941   \n",
       "name                                                      鬼娃回魂   \n",
       "ADD_TIME                                   2018-02-07 20:41:36   \n",
       "type                                                  悬疑|惊悚|恐怖   \n",
       "actors                 凯瑟琳·海克丝|克里斯·萨兰登|艾力克斯·文森特|布拉德·道里夫|黛娜·马诺夫   \n",
       "region                                                      美国   \n",
       "director                                                汤姆·霍兰德   \n",
       "trait                                                       经典   \n",
       "rat                                                        6.8   \n",
       "enable                                                       1   \n",
       "description  美国芝加哥的午夜，杀人犯雷在警探迈克（克里斯·萨兰登 Chris Sarandon ）的追捕...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                   ...                          \\\n",
       "id                                 ...                           \n",
       "USERID                             ...                           \n",
       "movieid                            ...                           \n",
       "rectime                            ...                           \n",
       "lrrat                              ...                           \n",
       "fmrat                              ...                           \n",
       "srcmovieid                         ...                           \n",
       "name                               ...                           \n",
       "ADD_TIME                           ...                           \n",
       "type                               ...                           \n",
       "actors                             ...                           \n",
       "region                             ...                           \n",
       "director                           ...                           \n",
       "trait                              ...                           \n",
       "rat                                ...                           \n",
       "enable                             ...                           \n",
       "description                        ...                           \n",
       "img                                ...                           \n",
       "rmax                               ...                           \n",
       "rmin                               ...                           \n",
       "ravg                               ...                           \n",
       "rcount                             ...                           \n",
       "rsum                               ...                           \n",
       "rmedian                            ...                           \n",
       "TIME_DIS                           ...                           \n",
       "\n",
       "                                                           358  \\\n",
       "id                        c34d35a8-311a-4104-8928-f681d21cb772   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                                4861404   \n",
       "rectime                                    2019-01-03 17:16:13   \n",
       "lrrat                                       0.9804026653224612   \n",
       "fmrat                                        4.013330000000001   \n",
       "srcmovieid                                            10727641   \n",
       "name                                                      超能力者   \n",
       "ADD_TIME                                   2018-02-07 20:53:16   \n",
       "type                                      奇幻|惊悚|剧情|犯罪|悬疑|科幻|动作   \n",
       "actors                                              姜栋元|高修|郑恩彩   \n",
       "region                                                      韩国   \n",
       "director                                                   金民锡   \n",
       "trait                                                       魔幻   \n",
       "rat                                                        5.7   \n",
       "enable                                                       1   \n",
       "description  　　从小，楚仁（姜东元饰）就知道自己拥有能够控制人心的超能力，凡是被他的双眼所正视的人，无一...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           359  \\\n",
       "id                        c345df00-0477-492c-a54c-d9891fdd9191   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                                1506769   \n",
       "rectime                                    2019-01-03 17:16:13   \n",
       "lrrat                                       0.9922989548864766   \n",
       "fmrat                                                  3.99511   \n",
       "srcmovieid                                            10727641   \n",
       "name                                                    ABC谋杀案   \n",
       "ADD_TIME                                   2018-02-07 21:03:17   \n",
       "type                                                  剧情|犯罪|悬疑   \n",
       "actors                                     大卫·苏切|休·弗拉瑟|菲利普·杰克森   \n",
       "region                                                      英国   \n",
       "director                                               安德鲁·格里弗   \n",
       "trait                                                       经典   \n",
       "rat                                                        8.1   \n",
       "enable                                                       1   \n",
       "description  一个比波罗更强调秩序的人出现了。三个字母，三个地点，三宗凶案，三具尸体。 A代表第一个被谋杀...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           360  \\\n",
       "id                        0fd2493e-fa20-4b83-be0e-11d103173ce9   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                               26801782   \n",
       "rectime                                    2019-01-03 17:16:13   \n",
       "lrrat                                        0.994322264278463   \n",
       "fmrat                                       3.9866699999999997   \n",
       "srcmovieid                                            10727641   \n",
       "name                                                        缉枪   \n",
       "ADD_TIME                                   2018-02-07 20:54:01   \n",
       "type                                               剧情|犯罪|悬疑|动作   \n",
       "actors                                     白举纲|热依扎|连奕名|任东霖|童苡萱   \n",
       "region                                                    中国大陆   \n",
       "director                                                    徐兵   \n",
       "trait                                                       经典   \n",
       "rat                                                        6.3   \n",
       "enable                                                       1   \n",
       "description  一次普通的车辆剐蹭事故里，俞苗老公刘明义拿枪打死了徐天的女朋友，被警察当场击毙。徐天找俞苗赔...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           361  \\\n",
       "id                        162643e3-2267-4868-bf82-cc93077b8042   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                                6876154   \n",
       "rectime                                    2019-01-03 17:16:13   \n",
       "lrrat                                       0.9871967461477341   \n",
       "fmrat                                        4.013330000000001   \n",
       "srcmovieid                                            10727641   \n",
       "name                                                      国家利益   \n",
       "ADD_TIME                                   2018-02-07 20:49:14   \n",
       "type                                         惊悚|爱情|剧情|犯罪|悬疑|动作   \n",
       "actors               米卡埃尔·佩斯布兰特|萨巴·穆巴拉克|大卫·丹席克|潘妮拉·奥古斯特|杰森·弗莱明   \n",
       "region                                                      瑞典   \n",
       "director                                             凯瑟琳·温德菲尔德   \n",
       "trait                                                       经典   \n",
       "rat                                                        6.7   \n",
       "enable                                                       1   \n",
       "description  　　本片被称为瑞典版007，男主角主演的《更好的世界》曾获得83届奥斯卡最佳外语片大奖。　　...   \n",
       "img          https://img1.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           362  \\\n",
       "id                        77ac2672-0a53-476e-b7a4-96483eb4d438   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                               25920885   \n",
       "rectime                                    2019-01-03 17:16:14   \n",
       "lrrat                                       0.9838058080674467   \n",
       "fmrat                                       4.0149300000000006   \n",
       "srcmovieid                                            10727641   \n",
       "name                                               神探夏洛克：可恶的新娘   \n",
       "ADD_TIME                                   2018-02-07 20:22:24   \n",
       "type                                               剧情|犯罪|悬疑|惊悚   \n",
       "actors               本尼迪克特·康伯巴奇|马丁·弗瑞曼|尤娜·斯塔布斯|鲁珀特·格雷夫斯|马克·加蒂斯   \n",
       "region                                                      英国   \n",
       "director                                              道格拉斯·麦金农   \n",
       "trait                                                       经典   \n",
       "rat                                                        6.9   \n",
       "enable                                                       1   \n",
       "description  《神探夏洛克》（Sherlock）2016年推出特别篇，福尔摩斯回归原著维多利亚时代，调查一...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           363  \\\n",
       "id                        b0796180-1a2a-417f-963b-fb569ca6a3de   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                                1483239   \n",
       "rectime                                    2019-01-03 17:16:14   \n",
       "lrrat                                       0.9864132321966126   \n",
       "fmrat                                                  4.01015   \n",
       "srcmovieid                                            10727641   \n",
       "name                                                      夺命枪火   \n",
       "ADD_TIME                                   2018-02-07 20:37:16   \n",
       "type                                         惊悚|剧情|犯罪|悬疑|冒险|动作   \n",
       "actors                    保罗·沃克|卡梅隆·布莱特|维拉·法米加|查兹·帕尔明特瑞|卡瑞尔·罗登   \n",
       "region                                                      德国   \n",
       "director                                                韦恩·克雷默   \n",
       "trait                                                       黑帮   \n",
       "rat                                                        7.7   \n",
       "enable                                                       1   \n",
       "description  表面上看来，乔伊（保罗·沃克 Paul Walker 饰）过着人人羡慕的美满生活，温馨的房子...   \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           364  \\\n",
       "id                        1f38ed3d-b0b8-4231-b63f-24e7b4d2c75d   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                                1293828   \n",
       "rectime                                    2019-01-03 17:16:14   \n",
       "lrrat                                       0.9951047425199501   \n",
       "fmrat                                        4.013330000000001   \n",
       "srcmovieid                                            10727641   \n",
       "name                                                   007之金手指   \n",
       "ADD_TIME                                   2018-02-07 20:41:36   \n",
       "type                                               犯罪|冒险|惊悚|动作   \n",
       "actors                    肖恩·康纳利|霍纳尔·布莱克曼|杰特·弗罗比|雪莉·伊顿|坦妮娅·玛蕾特   \n",
       "region                                                      英国   \n",
       "director                                               盖伊·汉弥尔顿   \n",
       "trait                                                       经典   \n",
       "rat                                                        7.1   \n",
       "enable                                                       1   \n",
       "description  世界各国突然出现黄金大量流失的现象，而黄金的黑市交易却十分兴盛。英国情报部怀疑世界巨富金手指...   \n",
       "img          https://img1.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           365  \\\n",
       "id                        84b9f462-2316-48d4-8246-fccc3e6686d1   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                               25925430   \n",
       "rectime                                    2019-01-03 17:16:14   \n",
       "lrrat                                       0.9907983080150248   \n",
       "fmrat                                       3.9866699999999997   \n",
       "srcmovieid                                            10727641   \n",
       "name                                                        真相   \n",
       "ADD_TIME                                   2018-02-07 20:52:29   \n",
       "type                                            剧情|犯罪|悬疑|传记|历史   \n",
       "actors                                             何家勁|郭可盈|金超群   \n",
       "region                                                      香港   \n",
       "director                                                   邱禮濤   \n",
       "trait                                                 女性|经典|文艺   \n",
       "rat                                                        7.7   \n",
       "enable                                                       1   \n",
       "description  索尼卖下《真相》的北美发行权，影片由凯特·布兰切特和罗伯特·雷德福主演，改编自《真相与责任：...   \n",
       "img          https://img1.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           366  \\\n",
       "id                        6de81408-671f-44a4-8647-710c20990ca0   \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f   \n",
       "movieid                                                1292288   \n",
       "rectime                                    2019-01-03 17:16:14   \n",
       "lrrat                                       0.9897209977315697   \n",
       "fmrat                                                  4.00569   \n",
       "srcmovieid                                            10727641   \n",
       "name                                                      公民凯恩   \n",
       "ADD_TIME                              Fri Jan  5 11:36:09 2018   \n",
       "type                                               剧情|犯罪|悬疑|传记   \n",
       "actors                     Richard Ben Cramer|威廉·阿伦德|彼得·博格丹诺维奇   \n",
       "region                                                      美国   \n",
       "director                         Michael Epstein|Thomas Lennon   \n",
       "trait                                                       经典   \n",
       "rat                                                        7.6   \n",
       "enable                                                       1   \n",
       "description  美国报业大亨凯恩（奥森•韦尔斯）在桑拿都庄园中留下“玫瑰花蕾”的“遗言”死去后，一位青年记者...   \n",
       "img          https://img1.doubanio.com/view/photo/s_ratio_p...   \n",
       "rmax                                                         5   \n",
       "rmin                                                         2   \n",
       "ravg                                                   3.85714   \n",
       "rcount                                                       7   \n",
       "rsum                                                        27   \n",
       "rmedian                                                      4   \n",
       "TIME_DIS                                                     0   \n",
       "\n",
       "                                                           367  \n",
       "id                        48fcb7d2-c6da-4b54-a2cd-cc089d1732a6  \n",
       "USERID                        cf2349f9c01f9a5cd4050aebd30ab74f  \n",
       "movieid                                               25824009  \n",
       "rectime                                    2019-01-03 17:16:14  \n",
       "lrrat                                       0.9411134313614328  \n",
       "fmrat                                                  4.01436  \n",
       "srcmovieid                                            10727641  \n",
       "name                                                       脑残粉  \n",
       "ADD_TIME                                   2018-02-07 20:56:03  \n",
       "type                                   惊悚|剧情|犯罪|悬疑|喜剧|歌舞|恐怖|动作  \n",
       "actors              沙鲁克·汗|瓦妮·卡普尔|保罗·布莱克维尔|玛瑞沃拉·嘉沃斯卡|李·尼古拉斯·哈里斯  \n",
       "region                                                      印度  \n",
       "director                                                玛尼什·莎玛  \n",
       "trait                                                       搞笑  \n",
       "rat                                                        6.6  \n",
       "enable                                                       1  \n",
       "description  高瑞夫（沙鲁克·汗 饰）是德里一个网吧的小老板，自小就是超级巨星阿利安•坎纳（沙鲁克·汗 饰...  \n",
       "img          https://img3.doubanio.com/view/photo/s_ratio_p...  \n",
       "rmax                                                         5  \n",
       "rmin                                                         2  \n",
       "ravg                                                   3.85714  \n",
       "rcount                                                       7  \n",
       "rsum                                                        27  \n",
       "rmedian                                                      4  \n",
       "TIME_DIS                                                     0  \n",
       "\n",
       "[25 rows x 368 columns]"
      ]
     },
     "execution_count": 35,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sql = 'select * from recmovie left join movie on movie.id=recmovie.movieid left join userproex_new on userproex_new.userid=recmovie.userid'\n",
    "df_data = pd.read_sql_query(sql, get_connection())\n",
    "df_data = df_data.drop([0], axis=1)\n",
    "#df_data = df_data.rename(columns = {'userid':'USERID'})\n",
    "#df_data['USERID'].fillna(0)\n",
    "print(df_data.columns)\n",
    "df_data = df_data.loc[:,~df_data.columns.duplicated()]\n",
    "#print(df_data.shape)\n",
    "df_data = df_data.rename(columns = {'userid':'USERID'})\n",
    "df_data['TIME_DIS'] = np.zeros(df_data.shape[0])\n",
    "df_data.T"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "jfqzU_3dNwsB"
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 961,
     "status": "ok",
     "timestamp": 1546518800700,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "3YSUMJP-NRxq",
    "outputId": "48a938ff-2653-4fc7-84e9-11a6eb9476a6"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(368, 25)\n"
     ]
    }
   ],
   "source": [
    "print(df_data.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "jI6d3XzZ27PX"
   },
   "outputs": [],
   "source": [
    "##df_user_pro = pd.read_sql_query(\"select * from userproex_new where \", get_connection())\n",
    "##df_movie = pd.read_sql_query(\"select * from movie\", get_connection())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "F5ficzgk274O"
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "UBhbE3yNp38k"
   },
   "outputs": [],
   "source": [
    "v_from_pkl = None\n",
    "with open('/content/drive/My Drive/colabnotebook/dict2vec', 'rb') as f:\n",
    "  v_from_pkl = pkl.load(f)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "CaF2nBdM26gZ"
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "-i9m5sEWqep3"
   },
   "outputs": [],
   "source": [
    "# df_predict = pd.DataFrame(v_from_pkl.transform(predict).todense())\n",
    "# df_predict[df_predict > 0].T.dropna()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "OGjQdKOUsE13"
   },
   "outputs": [],
   "source": [
    "#np.zeros(libfm_predict_series.shape[0]).shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "fSr8gmUisHEj"
   },
   "outputs": [],
   "source": [
    "#dump_svmlight_file(testX, numpy.zeros(testX.shape[0]), '/content/drive/My Drive/colabnotebook/recsys_predict.txt')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "maRwHN6JvNCR"
   },
   "outputs": [],
   "source": [
    "actors_dict = None\n",
    "director_dict = None\n",
    "\n",
    "with open('/content/drive/My Drive/colabnotebook/actors_dict', 'rb') as f:\n",
    "  actors_dict = pkl.load(f)\n",
    "  \n",
    "with open('/content/drive/My Drive/colabnotebook/director_dict', 'rb') as f:\n",
    "  director_dict = pkl.load(f)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "zEYLhp72u6st"
   },
   "outputs": [],
   "source": [
    "def convert_dataframe_2_dict_list(df_main, actors_dict, director_dict):\n",
    "  data_dict_list = []\n",
    "  for i in df_main.index:\n",
    "    _dict = {}\n",
    "    is_invalid = False\n",
    "    #type\n",
    "    for s_type in df_main.iloc[i]['type'].split('|'):\n",
    "      _dict[s_type] = 1\n",
    "    #actors\n",
    "    for s_actor in df_main.iloc[i]['actors'].split('|'):\n",
    "      if not s_actor in actors_dict:\n",
    "        print('invalid data index is ' + str(i))\n",
    "        invalid_data_list.append(i)\n",
    "        is_invalid = True\n",
    "        break\n",
    "      if actors_dict[s_actor] < 2:\n",
    "        _dict['other_actor'] = 1\n",
    "      else:\n",
    "        _dict[s_actor] = 1\n",
    "    if is_invalid == True:\n",
    "      continue;\n",
    "    #regios\n",
    "    _dict[df_main.iloc[i]['region']] = 1\n",
    "    #userid ...\n",
    "    _dict[df_main.iloc[i]['USERID']] = 1\n",
    "    _dict[str(df_main.iloc[i]['movieid'])] = 1\n",
    "    _dict['rat'] = df_main.iloc[i]['rat']\n",
    "    _dict['rmax'] = df_main.iloc[i]['rmax']\n",
    "    _dict['rmin'] = df_main.iloc[i]['rmin']\n",
    "    _dict['ravg'] = df_main.iloc[i]['ravg']\n",
    "    _dict['rcount'] = df_main.iloc[i]['rcount']\n",
    "    _dict['rsum'] = df_main.iloc[i]['rsum']\n",
    "    _dict['rmedian'] = df_main.iloc[i]['rmedian']\n",
    "    _dict['TIME_DIS'] = df_main.iloc[i]['TIME_DIS']\n",
    "    #\n",
    "    #director\n",
    "    for s_director in df_main.iloc[i]['director'].split('|'):\n",
    "      if director_dict[s_director] < 2:\n",
    "        _dict['other_director'] = 1\n",
    "      else:\n",
    "        _dict[s_director] = 1\n",
    "    #trait\n",
    "    for s_trait in df_main.iloc[i]['trait'].split('|'):\n",
    "      _dict[s_trait] = 1\n",
    "    data_dict_list.append(_dict)\n",
    "  return data_dict_list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "Orh9p8_XX7uP"
   },
   "outputs": [],
   "source": [
    "df_data = df_data.fillna(0)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "4WJLcolxvB8A"
   },
   "outputs": [],
   "source": [
    "dict_list = convert_dataframe_2_dict_list(df_data, actors_dict, director_dict)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 138737
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 2239,
     "status": "ok",
     "timestamp": 1546518830566,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "nY1h1uyGIOA2",
    "outputId": "7e4965ec-c02f-4ab3-d304-bde86e17b08c"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'1': 1,\n",
       "  '10001432': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.0,\n",
       "  'rcount': 1.0,\n",
       "  'rmax': 3.0,\n",
       "  'rmedian': 3.0,\n",
       "  'rmin': 3.0,\n",
       "  'rsum': 3.0,\n",
       "  '冈本信彦': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '日本': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '青春': 1},\n",
       " {'1': 1,\n",
       "  '10438426': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.0,\n",
       "  'rcount': 1.0,\n",
       "  'rmax': 3.0,\n",
       "  'rmedian': 3.0,\n",
       "  'rmin': 3.0,\n",
       "  'rsum': 3.0,\n",
       "  '剧情': 1,\n",
       "  '女性': 1,\n",
       "  '娄烨': 1,\n",
       "  '悬疑': 1,\n",
       "  '文艺': 1,\n",
       "  '朱亚文': 1,\n",
       "  '法国': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '秦昊': 1,\n",
       "  '郝蕾': 1,\n",
       "  '齐溪': 1},\n",
       " {'1': 1,\n",
       "  '10430817': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.0,\n",
       "  'rcount': 1.0,\n",
       "  'rmax': 3.0,\n",
       "  'rmedian': 3.0,\n",
       "  'rmin': 3.0,\n",
       "  'rsum': 3.0,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '文艺': 1,\n",
       "  '科幻': 1,\n",
       "  '马蒂娜·格德克': 1},\n",
       " {'10428476': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '佩顿·李斯特': 1,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '喜剧': 1,\n",
       "  '大卫·博维斯': 1,\n",
       "  '戴文·博斯蒂克': 1,\n",
       "  '扎克瑞·戈登': 1,\n",
       "  '搞笑': 1,\n",
       "  '瑞秋·哈里斯': 1,\n",
       "  '罗伯特·卡普荣': 1,\n",
       "  '青春': 1},\n",
       " {'10480973': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冈本信彦': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '小野贤章': 1,\n",
       "  '日本': 1,\n",
       "  '石川界人': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '野岛健儿': 1,\n",
       "  '青春': 1,\n",
       "  '魔幻': 1},\n",
       " {'10430817': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '文艺': 1,\n",
       "  '科幻': 1,\n",
       "  '马蒂娜·格德克': 1},\n",
       " {'1293143': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '凯文·贝肯': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1298574': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '动作': 1,\n",
       "  '厄文·克什纳': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'26279449': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '3.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '张雨绮': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1},\n",
       " {'1300077': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯·萨兰登': 1,\n",
       "  '布拉德·道里夫': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾力克斯·文森特': 1},\n",
       " {'4116480': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '传记': 1,\n",
       "  '保罗·格林格拉斯': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '汤姆·汉克斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'3338862': 1,\n",
       "  'J·K·西蒙斯': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '杰·科特尼': 1,\n",
       "  '杰森·克拉克': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾米莉亚·克拉克': 1,\n",
       "  '阿兰·泰勒': 1,\n",
       "  '阿诺·施瓦辛格': 1},\n",
       " {'3104798': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丽芙·泰勒': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '奇幻': 1,\n",
       "  '威廉·菲德内尔': 1,\n",
       "  '布鲁斯·威利斯': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '本·阿弗莱克': 1,\n",
       "  '比利·鲍伯·松顿': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '迈克尔·贝': 1},\n",
       " {'1298120': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯·克里斯托佛森': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯蒂芬·多尔夫': 1,\n",
       "  '斯蒂芬·诺林顿': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '韦斯利·斯奈普斯': 1,\n",
       "  '魔幻': 1},\n",
       " {'1436870': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '玛丽·伊丽莎白·温斯特德': 1,\n",
       "  '经典': 1,\n",
       "  '黄毅瑜': 1},\n",
       " {'1300868': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '哈利·戴恩·斯坦通': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '汤姆·斯凯里特': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '约翰·赫特': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '西格妮·韦弗': 1,\n",
       "  '雷德利·斯科特': 1},\n",
       " {'1298586': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '布兰登·费舍': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯蒂芬·索莫斯': 1,\n",
       "  '科幻': 1,\n",
       "  '约翰·汉纳': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '蕾切尔·薇兹': 1,\n",
       "  '道恩·强森': 1,\n",
       "  '魔幻': 1},\n",
       " {'1299510': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '凯姆·吉甘戴': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '玛姬·格蕾斯': 1,\n",
       "  '福里斯特·惠特克': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾德里安·布洛迪': 1},\n",
       " {'1441473': 1,\n",
       "  'M·奈特·沙马兰': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·吉亚玛提': 1,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '布莱丝·达拉斯·霍华德': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰弗里·怀特': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'1578669': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'4058964': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '威廉·赫特': 1,\n",
       "  '安德鲁·尼科尔': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '波伊德·霍布鲁克': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '西尔莎·罗南': 1,\n",
       "  '青春': 1,\n",
       "  '马克斯·艾恩斯': 1,\n",
       "  '魔幻': 1},\n",
       " {'3792868': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '喜剧': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1},\n",
       " {'3014399': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '奥利维亚·库克': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '比安卡·A·桑托斯': 1,\n",
       "  '美国': 1,\n",
       "  '道格拉斯·史密斯': 1,\n",
       "  '青春': 1},\n",
       " {'3804629': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '帕特里克·威尔森': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '朗·里维斯顿': 1,\n",
       "  '温子仁': 1,\n",
       "  '经典': 1,\n",
       "  '维拉·法米加': 1,\n",
       "  '美国': 1,\n",
       "  '莉莉·泰勒': 1},\n",
       " {'2300586': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '历史': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '文艺': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1978709': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '历史': 1,\n",
       "  '女性': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '泰隆·鲍华': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'3072894': 1,\n",
       "  'Mark Rosman': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '青春': 1},\n",
       " {'1298976': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '约翰·麦克蒂尔南': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '阿诺·施瓦辛格': 1},\n",
       " {'1308779': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼斯·奎德': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '埃米·罗森': 1,\n",
       "  '杰克·吉伦哈尔': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '罗兰·艾默里奇': 1,\n",
       "  '美国': 1,\n",
       "  '达什·米霍克': 1},\n",
       " {'1303164': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '澳大利亚': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1},\n",
       " {'1302987': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '历史': 1,\n",
       "  '战争': 1,\n",
       "  '灾难': 1,\n",
       "  '爱情': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1292226': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '斯坦利·库布里克': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1},\n",
       " {'1293470': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔什·布洛林': 1,\n",
       "  '伊丽莎白·苏': 1,\n",
       "  '保罗·范霍文': 1,\n",
       "  '凯文·贝肯': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '德国': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '金·迪肯斯': 1},\n",
       " {'25808075': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '伍迪·哈里森': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '史蒂夫·茨恩': 1,\n",
       "  '奇幻': 1,\n",
       "  '安迪·瑟金斯': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '马特·里夫斯': 1},\n",
       " {'1895120': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '唐尼·沃尔伯格': 1,\n",
       "  '安贝·瓦莱塔': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '温子仁': 1,\n",
       "  '犯罪': 1,\n",
       "  '瑞恩·柯万腾': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '鲍勃·冈顿': 1},\n",
       " {'1477916': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卡罗尔·贝克': 1,\n",
       "  '大卫·芬奇': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '西恩·潘': 1,\n",
       "  '詹姆斯·瑞布霍恩': 1,\n",
       "  '迈克尔·道格拉斯': 1,\n",
       "  '黛博拉·卡拉·安格': 1},\n",
       " {'6874441': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '布莱恩·德·帕尔玛': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '派珀·劳瑞': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾米·欧文': 1,\n",
       "  '茜茜·斯派塞克': 1,\n",
       "  '青春': 1,\n",
       "  '魔幻': 1},\n",
       " {'26751772': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '女性': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '迈克·弗拉纳根': 1},\n",
       " {'1293515': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '安东尼·希尔德': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯蒂芬·索莫斯': 1,\n",
       "  '法米克·詹森': 1,\n",
       "  '灾难': 1,\n",
       "  '特里特·威廉斯': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'25750969': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '励志': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰克·吉伦哈尔': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '蕾妮·罗素': 1},\n",
       " {'1293824': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '劳伦斯·奥利弗': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '阿尔弗雷德·希区柯克': 1},\n",
       " {'1300392': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1292484': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯汀·斯科特·托马斯': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '布莱恩·德·帕尔玛': 1,\n",
       "  '强·沃特': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '汤姆·克鲁斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾曼纽·贝阿': 1,\n",
       "  '让·雷诺': 1},\n",
       " {'2983986': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼斯·奎德': 1,\n",
       "  '保罗·贝坦尼': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卢卡斯·布莱克': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '泰瑞斯·吉布森': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'1481456': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '西班牙': 1},\n",
       " {'6082346': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '奇幻': 1,\n",
       "  '安东·叶利钦': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯蒂芬·索莫斯': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '艾狄森·蒂姆林': 1,\n",
       "  '蕾奥娜·维埃拉': 1,\n",
       "  '魔幻': 1},\n",
       " {'1297929': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保尔·麦克盖恩': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '大卫·芬奇': 1,\n",
       "  '布莱恩·格洛弗': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '查尔斯·丹斯': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '西格妮·韦弗': 1},\n",
       " {'1293544': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔纳森·戴米': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '安东尼·希尔德': 1,\n",
       "  '安东尼·霍普金斯': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '斯科特·格伦': 1,\n",
       "  '朱迪·福斯特': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1418752': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '喜剧': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1793903': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '塞缪尔·杰克逊': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '玛丽·麦克科马克': 1,\n",
       "  '科幻': 1,\n",
       "  '米凯尔·哈弗斯特罗姆': 1,\n",
       "  '约翰·库萨克': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'26704620': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '3.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卡特里娜·宝登': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '青春': 1},\n",
       " {'3284768': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '卡赖伯·兰德里·琼斯': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'21360417': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '李大为': 1,\n",
       "  '李璟荣': 1,\n",
       "  '河正宇': 1,\n",
       "  '灾难': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '韩国': 1},\n",
       " {'1294037': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '凯文·科斯特纳': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '珍妮·特里普里霍恩': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'26853690': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '佩顿·李斯特': 1,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '青春': 1},\n",
       " {'26591649': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'1297907': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '西部': 1,\n",
       "  '詹姆斯·布洛林': 1},\n",
       " {'1299932': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '亨利-乔治·克鲁佐': 1,\n",
       "  '伊夫·蒙当': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '意大利': 1,\n",
       "  '经典': 1,\n",
       "  '薇拉·克劳佐': 1},\n",
       " {'1305903': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '大卫·休莱特': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文森佐·纳塔利': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1},\n",
       " {'26274132': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '4.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '日本': 1,\n",
       "  '科幻': 1,\n",
       "  '竹富圣花': 1,\n",
       "  '青春': 1},\n",
       " {'2028669': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼尔·克雷格': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '史蒂文·斯皮尔伯格': 1,\n",
       "  '喜剧': 1,\n",
       "  '安迪·瑟金斯': 1,\n",
       "  '尼克·弗罗斯特': 1,\n",
       "  '悬疑': 1,\n",
       "  '杰米·贝尔': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '西蒙·佩吉': 1},\n",
       " {'2037833': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔什·哈切森': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '埃里克·布雷维格': 1,\n",
       "  '奇幻': 1,\n",
       "  '布兰登·费舍': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'21349345': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '托马斯·布罗迪-桑斯特': 1,\n",
       "  '李起弘': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '迪伦·奥布莱恩': 1,\n",
       "  '青春': 1,\n",
       "  '韦斯·鲍尔': 1},\n",
       " {'1294362': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔治·卢卡斯': 1,\n",
       "  '伊万·麦克格雷格': 1,\n",
       "  '伊恩·麦克迪阿梅德': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '娜塔莉·波特曼': 1,\n",
       "  '战争': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '连姆·尼森': 1,\n",
       "  '魔幻': 1},\n",
       " {'1309064': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '小克利夫顿·克林斯': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '方·基默': 1,\n",
       "  '犯罪': 1,\n",
       "  '约翰尼·李·米勒': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '雷尼·哈林': 1},\n",
       " {'20471852': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '伊恩·格雷': 1,\n",
       "  '保罗·安德森': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '李准基': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '米拉·乔沃维奇': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾丽·拉特': 1,\n",
       "  '鲁比·罗丝': 1},\n",
       " {'26575234': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '喜剧': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '美国': 1},\n",
       " {'26000205': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '佐米·希尔拉': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '奥斯卡·贾恩那达': 1,\n",
       "  '女性': 1,\n",
       "  '布蕾克·莱弗利': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '美国': 1},\n",
       " {'1298389': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '希瑟·兰根坎普': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '约翰尼·德普': 1,\n",
       "  '经典': 1,\n",
       "  '罗伯特·英格兰德': 1,\n",
       "  '美国': 1,\n",
       "  '韦斯·克雷文': 1},\n",
       " {'26281899': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '科特妮·哈芙森': 1,\n",
       "  '美国': 1,\n",
       "  '青春': 1},\n",
       " {'1294990': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔·庄斯顿': 1,\n",
       "  '乔纳森·海德': 1,\n",
       "  '克斯汀·邓斯特': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '奇幻': 1,\n",
       "  '惊悚': 1,\n",
       "  '派翠西娅·克拉克森': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '罗宾·威廉姆斯': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'1303654': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克日什托夫·基耶斯洛夫斯基': 1,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '法国': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'1301578': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '雪莉·麦克雷恩': 1,\n",
       "  '音乐': 1},\n",
       " {'3569943': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔恩·斯图尔特': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '喜剧': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾米莉·布朗特': 1,\n",
       "  '迈克尔·凯利': 1,\n",
       "  '马特·达蒙': 1},\n",
       " {'1309136': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '休·杰克曼': 1,\n",
       "  '冒险': 1,\n",
       "  '凯特·贝金赛尔': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '大卫·文翰': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯蒂芬·索莫斯': 1,\n",
       "  '理查德·劳斯伯格': 1,\n",
       "  '科幻': 1,\n",
       "  '罗彼·考特拉尼': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'3143676': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '喜剧': 1,\n",
       "  '奇幻': 1,\n",
       "  '布莱德利·惠特福德': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '理查德·詹金斯': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1292523': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '劳拉·邓恩': 1,\n",
       "  '史蒂文·斯皮尔伯格': 1,\n",
       "  '山姆·尼尔': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰夫·高布伦': 1,\n",
       "  '灾难': 1,\n",
       "  '理查德·阿滕伯勒': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1296384': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卡罗尔·贝克': 1,\n",
       "  '大卫·芬奇': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '西恩·潘': 1,\n",
       "  '詹姆斯·瑞布霍恩': 1,\n",
       "  '迈克尔·道格拉斯': 1,\n",
       "  '黛博拉·卡拉·安格': 1},\n",
       " {'1299153': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '多米尼克·皮侬': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '朗·普尔曼': 1,\n",
       "  '法国': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '薇诺娜·瑞德': 1,\n",
       "  '西格妮·韦弗': 1,\n",
       "  '让-皮埃尔·热内': 1},\n",
       " {'3569911': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·范霍文': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '莎朗·斯通': 1,\n",
       "  '迈克尔·艾恩塞德': 1,\n",
       "  '阿诺·施瓦辛格': 1},\n",
       " {'26004132': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卡雅·斯考达里奥': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '托马斯·布罗迪-桑斯特': 1,\n",
       "  '李起弘': 1,\n",
       "  '灾难': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '迪伦·奥布莱恩': 1,\n",
       "  '青春': 1,\n",
       "  '韦斯·鲍尔': 1},\n",
       " {'3217099': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '日本': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1},\n",
       " {'1296717': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·弗里曼': 1,\n",
       "  '冒险': 1,\n",
       "  '凯伦·阿兰': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '史蒂文·斯皮尔伯格': 1,\n",
       "  '哈里森·福特': 1,\n",
       "  '奇幻': 1,\n",
       "  '科幻': 1,\n",
       "  '约翰·瑞斯-戴维斯': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'1306809': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·安德森': 1,\n",
       "  '动作': 1,\n",
       "  '德国': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '科林·萨蒙': 1,\n",
       "  '米拉·乔沃维奇': 1,\n",
       "  '米歇尔·罗德里格兹': 1,\n",
       "  '经典': 1,\n",
       "  '詹姆斯·鲍弗': 1},\n",
       " {'1293182': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '9.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'25824686': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '4.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔什·杜哈明': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '安东尼·霍普金斯': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '迈克尔·贝': 1,\n",
       "  '马克·沃尔伯格': 1},\n",
       " {'10440076': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '伊莱贾·伍德': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '美国': 1,\n",
       "  '范·迪塞尔': 1,\n",
       "  '迈克尔·凯恩': 1,\n",
       "  '魔幻': 1},\n",
       " {'1297192': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里·杜瓦尔': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '约翰·库萨克': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '詹姆斯·曼高德': 1,\n",
       "  '阿尔弗雷德·莫里纳': 1,\n",
       "  '阿曼达·皮特': 1,\n",
       "  '雷·利奥塔': 1},\n",
       " {'1306723': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯托弗·里夫': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '杰基·库珀': 1,\n",
       "  '理查德·莱斯特': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'25986180': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '孔侑': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '郑有美': 1,\n",
       "  '金义城': 1,\n",
       "  '金秀安': 1,\n",
       "  '韩国': 1,\n",
       "  '马东锡': 1},\n",
       " {'1297242': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '洛兰·加里': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '罗伊·沙伊德尔': 1,\n",
       "  '美国': 1,\n",
       "  '莫瑞·汉密尔顿': 1},\n",
       " {'1418187': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1},\n",
       " {'3990098': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '何家蓓': 1,\n",
       "  '冒险': 1,\n",
       "  '凯特·贝金赛尔': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '迈克尔·伊雷': 1,\n",
       "  '魔幻': 1},\n",
       " {'3895511': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '尼古拉·科斯特-瓦尔道': 1,\n",
       "  '悬疑': 1,\n",
       "  '战争': 1,\n",
       "  '摩根·弗里曼': 1,\n",
       "  '欧嘉·柯瑞兰寇': 1,\n",
       "  '汤姆·克鲁斯': 1,\n",
       "  '灾难': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '约瑟夫·科辛斯基': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'4919019': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '4.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '搞笑': 1,\n",
       "  '格雷格·施特劳斯': 1,\n",
       "  '灾难': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '科林·施特劳斯': 1,\n",
       "  '美国': 1},\n",
       " {'1304447': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔·潘托里亚诺': 1,\n",
       "  '克里斯托弗·诺兰': 1,\n",
       "  '凯瑞-安·莫斯': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '盖·皮尔斯': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1300377': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '喜剧': 1,\n",
       "  '彼得·杰克逊': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'26602795': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '卡拉·古奇诺': 1,\n",
       "  '女性': 1,\n",
       "  '布鲁斯·格林伍德': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '美国': 1,\n",
       "  '迈克·弗拉纳根': 1},\n",
       " {'1294621': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹泽尔·华盛顿': 1,\n",
       "  '剧情': 1,\n",
       "  '奎恩·拉提法': 1,\n",
       "  '安吉丽娜·朱莉': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1820156': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '威尔·史密斯': 1,\n",
       "  '弗朗西斯·劳伦斯': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾莉丝·布拉加': 1,\n",
       "  '达什·米霍克': 1},\n",
       " {'22939161': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '佐伊·索尔达娜': 1,\n",
       "  '克里斯·派恩': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '安东·叶利钦': 1,\n",
       "  '战争': 1,\n",
       "  '林诣彬': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '西蒙·佩吉': 1},\n",
       " {'1428051': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '凯伦·阿兰': 1,\n",
       "  '凯特·布兰切特': 1,\n",
       "  '动作': 1,\n",
       "  '史蒂文·斯皮尔伯格': 1,\n",
       "  '哈里森·福特': 1,\n",
       "  '奇幻': 1,\n",
       "  '希亚·拉博夫': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '雷·温斯顿': 1,\n",
       "  '魔幻': 1},\n",
       " {'1293013': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '威尔·史密斯': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '杰夫·高布伦': 1,\n",
       "  '比尔·普尔曼': 1,\n",
       "  '灾难': 1,\n",
       "  '玛丽·麦克唐纳': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '罗兰·艾默里奇': 1,\n",
       "  '美国': 1},\n",
       " {'1309032': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '玛瑞儿·海明威': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1299957': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1304436': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '吉娜·戴维斯': 1,\n",
       "  '大卫·柯南伯格': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰夫·高布伦': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1},\n",
       " {'6828823': 1,\n",
       "  'M·奈特·沙马兰': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '佐伊·克罗维兹': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '奇幻': 1,\n",
       "  '威尔·史密斯': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '苏菲·奥康内多': 1,\n",
       "  '贾登·史密斯': 1},\n",
       " {'1295560': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '盖伊·汉弥尔顿': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '肖恩·康纳利': 1,\n",
       "  '英国': 1},\n",
       " {'2132477': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克劳德·雷恩斯': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'1295292': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '堺左千夫': 1,\n",
       "  '宝田明': 1,\n",
       "  '平田昭彦': 1,\n",
       "  '志村乔': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '日本': 1,\n",
       "  '本多猪四郎 ': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1},\n",
       " {'10440138': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯·帕拉特': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '尼克·罗宾森': 1,\n",
       "  '布莱丝·达拉斯·霍华德': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '文森特·多诺费奥': 1,\n",
       "  '泰·辛普金斯': 1,\n",
       "  '灾难': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '科林·特雷沃罗': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1291839': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '哈里森·福特': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '雷德利·斯科特': 1,\n",
       "  '鲁特格尔·哈尔': 1},\n",
       " {'4924142': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '亚历克斯·帕蒂弗': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '基里安·墨菲': 1,\n",
       "  '奇幻': 1,\n",
       "  '安德鲁·尼科尔': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文森特·卡塞瑟': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '贾斯汀·汀布莱克': 1,\n",
       "  '阿曼达·塞弗里德': 1},\n",
       " {'1308752': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '加拿大': 1,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '托马斯·克莱舒曼': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '米拉·乔沃维奇': 1,\n",
       "  '经典': 1,\n",
       "  '西耶娜·盖尔利': 1},\n",
       " {'3871833': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '3.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '灾难': 1,\n",
       "  '美国': 1},\n",
       " {'23767433': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '喜剧': 1,\n",
       "  '山姆·勒纳': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '约翰尼·韦斯顿': 1,\n",
       "  '美国': 1,\n",
       "  '青春': 1},\n",
       " {'1299981': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '喜剧': 1,\n",
       "  '基伦·埃弗瑞·韦恩斯': 1,\n",
       "  '安娜·法瑞丝': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '青春': 1,\n",
       "  '马龙·韦恩斯': 1},\n",
       " {'26266072': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·格林格拉斯': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文森特·卡索': 1,\n",
       "  '朱丽娅·斯蒂尔斯': 1,\n",
       "  '汤米·李·琼斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾丽西亚·维坎德': 1,\n",
       "  '马特·达蒙': 1},\n",
       " {'1297294': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '詹姆斯·斯图尔特': 1,\n",
       "  '阿尔弗雷德·希区柯克': 1},\n",
       " {'2063914': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '堺左千夫': 1,\n",
       "  '宝田明': 1,\n",
       "  '平田昭彦': 1,\n",
       "  '志村乔': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '日本': 1,\n",
       "  '本多猪四郎 ': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1},\n",
       " {'1293702': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '史蒂文·斯皮尔伯格': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '朱丽安·摩尔': 1,\n",
       "  '杰夫·高布伦': 1,\n",
       "  '灾难': 1,\n",
       "  '理查德·阿滕伯勒': 1,\n",
       "  '皮特·波斯尔思韦特': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾利斯·霍华德': 1},\n",
       " {'1308978': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯·克里斯托佛森': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '大卫·S·高耶': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰西卡·贝尔': 1,\n",
       "  '瑞恩·雷诺兹': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '韦斯利·斯奈普斯': 1,\n",
       "  '魔幻': 1},\n",
       " {'1308848': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔·德特杜巴': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '尼古拉斯·凯奇': 1,\n",
       "  '强·沃特': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '肖恩·宾': 1,\n",
       "  '贾斯汀·巴萨': 1,\n",
       "  '黛安·克鲁格': 1},\n",
       " {'1830189': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '中国大陆': 1,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '管宗祥': 1,\n",
       "  '经典': 1},\n",
       " {'1304338': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '罗迪·麦克道尔': 1,\n",
       "  '美国': 1},\n",
       " {'1302718': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼·格洛弗': 1,\n",
       "  '加里·布塞': 1,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '玛利亚·康柯塔·阿隆索': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1306421': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼·博伊尔': 1,\n",
       "  '克里斯托弗·埃克莱斯顿': 1,\n",
       "  '剧情': 1,\n",
       "  '基里安·墨菲': 1,\n",
       "  '娜奥米·哈里斯': 1,\n",
       "  '布莱丹·格里森': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1},\n",
       " {'1294323': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '特德·科特切夫': 1,\n",
       "  '犯罪': 1,\n",
       "  '理查德·克里纳': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '西尔维斯特·史泰龙': 1},\n",
       " {'20514871': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克莱恩·克劳福德': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '布鲁斯·格林伍德': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '搞笑': 1,\n",
       "  '灾难': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '艾米莉·莫迪默': 1,\n",
       "  '詹姆斯·戴尔': 1,\n",
       "  '马克斯·马蒂尼': 1},\n",
       " {'1292832': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔治·A·罗梅罗': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'10466836': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼尔·雷德克里夫': 1,\n",
       "  '保罗·麦奎根': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '安德鲁·斯科特': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰西卡·布朗·芬德利': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '詹姆斯·麦卡沃伊': 1,\n",
       "  '马克·加蒂斯': 1,\n",
       "  '魔幻': 1},\n",
       " {'1298917': 1,\n",
       "  'O·J·辛普森': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '意大利': 1,\n",
       "  '灾难': 1,\n",
       "  '理查德·哈里斯': 1,\n",
       "  '经典': 1,\n",
       "  '马丁·辛': 1},\n",
       " {'1945330': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '劳瑞·侯登': 1,\n",
       "  '弗兰克·德拉邦特': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '托比·琼斯': 1,\n",
       "  '托马斯·简': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '马西娅·盖伊·哈登': 1},\n",
       " {'1297689': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '史蒂文·斯皮尔伯格': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '汤姆·克鲁斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '科林·法瑞尔': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '萨曼莎·莫顿': 1,\n",
       "  '马克斯·冯·叙多夫': 1},\n",
       " {'1482107': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '凯瑟琳·欧哈拉': 1,\n",
       "  '剧情': 1,\n",
       "  '史蒂夫·布西密': 1,\n",
       "  '吉尔·克兰': 1,\n",
       "  '喜剧': 1,\n",
       "  '奇幻': 1,\n",
       "  '山姆·勒纳': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'2377539': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '法国': 1,\n",
       "  '经典': 1},\n",
       " {'1305793': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '喜剧': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰弗瑞·考姆斯': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1292680': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '动作': 1,\n",
       "  '塞缪尔·杰克逊': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '托马斯·简': 1,\n",
       "  '澳大利亚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '萨弗蓉·布罗斯': 1,\n",
       "  '迈克尔·拉帕波特': 1,\n",
       "  '雷尼·哈林': 1},\n",
       " {'4724373': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '史蒂文·奎里 ': 1,\n",
       "  '大卫·科恩查内': 1,\n",
       "  '尼克·达歌斯托': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'26277361': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '马特·瑞安': 1,\n",
       "  '魔幻': 1},\n",
       " {'19951149': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '凯特·贝金赛尔': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '提奥·詹姆斯': 1,\n",
       "  '查尔斯·丹斯': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'2255841': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '西班牙': 1},\n",
       " {'1295384': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹妮丝·理查兹': 1,\n",
       "  '保罗·范霍文': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '卡斯帕·凡·迪恩': 1,\n",
       "  '尼尔·帕特里克·哈里斯': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '迪娜·迈耶': 1},\n",
       " {'1485255': 1,\n",
       "  'Sylvain White': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '美国': 1,\n",
       "  '青春': 1},\n",
       " {'1309051': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '基里安·墨菲': 1,\n",
       "  '女性': 1,\n",
       "  '布莱恩·考克斯': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰玛·梅斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '瑞秋·麦克亚当斯': 1,\n",
       "  '美国': 1,\n",
       "  '韦斯·克雷文': 1},\n",
       " {'2982853': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '战争': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '马特·兰特尔': 1},\n",
       " {'1304045': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '经典': 1,\n",
       "  '维果·莫腾森': 1,\n",
       "  '罗伯·科恩': 1,\n",
       "  '美国': 1,\n",
       "  '艾米·布伦尼曼': 1,\n",
       "  '西尔维斯特·史泰龙': 1},\n",
       " {'1296794': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '库尔特·拉塞尔': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '约翰·卡朋特': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1300300': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼尔·洛巴克': 1,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '艾丽·拉特': 1,\n",
       "  '黄毅瑜': 1},\n",
       " {'26326395': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '园子温': 1,\n",
       "  '奇幻': 1,\n",
       "  '女性': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '日本': 1,\n",
       "  '特林德尔·玲奈': 1,\n",
       "  '真野惠里菜': 1,\n",
       "  '科幻': 1},\n",
       " {'1578509': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'6128025': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '亚当·温加德': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '沙妮·文森': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1},\n",
       " {'2225321': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '帕德里夏·妮尔': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '罗伯特·怀斯': 1,\n",
       "  '美国': 1},\n",
       " {'3446003': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'6874140': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯托弗·兰登': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '大卫·科恩查内': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '泰伊·谢里丹': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '豪斯顿·塞奇': 1,\n",
       "  '青春': 1},\n",
       " {'3077413': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯·卡马克': 1,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1422950': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰夫·瓦德洛': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '青春': 1},\n",
       " {'25866686': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '4.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '尼克·罗宾森': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '朗·里维斯顿': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '科洛·莫瑞兹': 1,\n",
       "  '美国': 1,\n",
       "  '青春': 1},\n",
       " {'11639147': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '厄尼·巴巴拉什': 1,\n",
       "  '尚格·云顿': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '黑帮': 1},\n",
       " {'1867415': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '黑帮': 1},\n",
       " {'3011051': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '利亚姆·海姆斯沃斯': 1,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '澳大利亚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1},\n",
       " {'1297522': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文森特·普莱斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'25886495': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯·萨兰登': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '威廉·罗格斯戴尔': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '罗迪·麦克道尔': 1,\n",
       "  '美国': 1},\n",
       " {'3319741': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '澳大利亚': 1,\n",
       "  '理查德·劳斯伯格': 1,\n",
       "  '瑞斯·维克菲尔德': 1,\n",
       "  '艾恩·格拉法德': 1},\n",
       " {'1450031': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '历史': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '梅尔·吉布森': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'5960681': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '亚历珊德拉·达达里奥': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '理查德·里尔': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'3793783': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔治·克鲁尼': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '励志': 1,\n",
       "  '惊悚': 1,\n",
       "  '桑德拉·布洛克': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '艾德·哈里斯': 1,\n",
       "  '英国': 1,\n",
       "  '阿方索·卡隆': 1},\n",
       " {'1297996': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔治·A·罗梅罗': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1819460': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '罗伯特·哈蒙': 1,\n",
       "  '美国': 1,\n",
       "  '詹妮弗·杰森·李': 1,\n",
       "  '鲁特格尔·哈尔': 1},\n",
       " {'1316693': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '厄尼·巴巴拉什': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '扎卡里·贝内特': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '迈克尔·莱利': 1},\n",
       " {'1428108': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯托弗·李': 1,\n",
       "  '剧情': 1,\n",
       "  '布里特·艾克拉诺': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1},\n",
       " {'22266898': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '埃德加·拉米雷兹': 1,\n",
       "  '奇幻': 1,\n",
       "  '奥立薇娅·玛恩': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯科特·德瑞克森': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '艾瑞克·巴纳': 1,\n",
       "  '魔幻': 1},\n",
       " {'1305306': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '卡瑞·玛切特': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1},\n",
       " {'1292769': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丽芙·泰勒': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '奇幻': 1,\n",
       "  '威廉·菲德内尔': 1,\n",
       "  '布鲁斯·威利斯': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '本·阿弗莱克': 1,\n",
       "  '比利·鲍伯·松顿': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '迈克尔·贝': 1},\n",
       " {'1297544': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吉恩·哈克曼': 1,\n",
       "  '威尔·史密斯': 1,\n",
       "  '强·沃特': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '托尼·斯科特': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '雷吉娜·金': 1},\n",
       " {'6788517': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1295955': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '加布里埃尔·伯恩': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '阿诺·施瓦辛格': 1,\n",
       "  '魔幻': 1},\n",
       " {'25995508': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '5.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卡雅·斯考达里奥': 1,\n",
       "  '吉安卡罗·埃斯波西托': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '托马斯·布罗迪-桑斯特': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '艾丹·吉伦': 1,\n",
       "  '迪伦·奥布莱恩': 1,\n",
       "  '青春': 1,\n",
       "  '韦斯·鲍尔': 1},\n",
       " {'25765735': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '休·杰克曼': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '帕特里克·斯图尔特': 1,\n",
       "  '悬疑': 1,\n",
       "  '感人': 1,\n",
       "  '斯戴芬·莫昌特': 1,\n",
       "  '波伊德·霍布鲁克': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '詹姆斯·曼高德': 1},\n",
       " {'1304643': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔·庄斯顿': 1,\n",
       "  '亚历桑德罗·尼沃拉': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '威廉姆·H·梅西': 1,\n",
       "  '山姆·尼尔': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '蒂娅·里欧妮': 1},\n",
       " {'1293755': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '艾伦·伯斯汀': 1,\n",
       "  '马克斯·冯·叙多夫': 1},\n",
       " {'1292225': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯坦利·库布里克': 1,\n",
       "  '杰克·尼科尔森': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '谢莉·杜瓦尔': 1},\n",
       " {'4943938': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼斯·海斯伯特': 1,\n",
       "  '伊德里斯·艾尔巴': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '尼科莱·阿尔赛': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1,\n",
       "  '西部': 1,\n",
       "  '马修·麦康纳': 1,\n",
       "  '魔幻': 1},\n",
       " {'1293792': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·雷瑟': 1,\n",
       "  '兰斯·亨利克森': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '西格妮·韦弗': 1,\n",
       "  '詹姆斯·卡梅隆': 1,\n",
       "  '迈克尔·比恩': 1},\n",
       " {'20497633': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '亚力克萨·巴杜科夫': 1,\n",
       "  '俄罗斯': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '斯维特拉纳·库德钦科娃': 1,\n",
       "  '灾难': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1},\n",
       " {'1471507': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔治·克鲁尼': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '史蒂文·索德伯格': 1,\n",
       "  '喜剧': 1,\n",
       "  '布拉德·皮特': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '马特·达蒙': 1},\n",
       " {'1302827': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '史蒂文·斯皮尔伯格': 1,\n",
       "  '弗兰西丝·奥康纳': 1,\n",
       "  '感人': 1,\n",
       "  '杰克·托马斯': 1,\n",
       "  '海利·乔·奥斯蒙': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '裘德·洛': 1},\n",
       " {'1578502': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '5.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '动作': 1,\n",
       "  '强尼·莱维斯': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '格雷格·施特劳斯': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '科林·施特劳斯': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1299591': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '布拉德·道里夫': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '贾斯廷·威林': 1},\n",
       " {'1300830': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔纳森·海德': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '埃里克·斯托尔兹': 1,\n",
       "  '巴西': 1,\n",
       "  '强·沃特': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '艾斯·库珀': 1,\n",
       "  '詹妮弗·洛佩兹': 1},\n",
       " {'1292547': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '康拉德·韦特': 1,\n",
       "  '德国': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'1297659': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '法国': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '魔幻': 1},\n",
       " {'4326412': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卢夫斯·塞维尔': 1,\n",
       "  '历史': 1,\n",
       "  '多米尼克·库珀': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '提莫·贝克曼贝托夫': 1,\n",
       "  '搞笑': 1,\n",
       "  '玛丽·伊丽莎白·温斯特德': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1},\n",
       " {'3017651': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '5.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯托弗·李': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '历史': 1,\n",
       "  '多米尼克·塞纳': 1,\n",
       "  '奇幻': 1,\n",
       "  '尼古拉斯·凯奇': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '斯蒂芬·坎贝尔·莫尔': 1,\n",
       "  '朗·普尔曼': 1,\n",
       "  '科幻': 1,\n",
       "  '罗伯特·席安': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'6431054': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '塞巴斯蒂安·斯坦': 1,\n",
       "  '女性': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '阿曼达·塞弗里德': 1,\n",
       "  '韦斯·本特利': 1},\n",
       " {'1292599': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '凯文·贝肯': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '弗莱德·沃德': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '西部': 1},\n",
       " {'4319445': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔·卡纳汉': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '弗兰克·格里罗': 1,\n",
       "  '德蒙特·莫罗尼': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '灾难': 1,\n",
       "  '美国': 1,\n",
       "  '达拉斯·罗伯特斯': 1,\n",
       "  '连姆·尼森': 1},\n",
       " {'20451290': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '4.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰克·约翰逊': 1,\n",
       "  '汤姆·克鲁斯': 1,\n",
       "  '灾难': 1,\n",
       "  '科幻': 1,\n",
       "  '罗素·克劳': 1,\n",
       "  '美国': 1,\n",
       "  '艾里克斯·库兹曼': 1,\n",
       "  '魔幻': 1},\n",
       " {'1295229': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '魔幻': 1},\n",
       " {'1773217': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '柏德潘·王般': 1,\n",
       "  '泰国': 1,\n",
       "  '爱情': 1,\n",
       "  '经典': 1,\n",
       "  '阿南达·爱华灵咸': 1},\n",
       " {'1298744': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯托弗·普卢默': 1,\n",
       "  '剧情': 1,\n",
       "  '大卫·摩斯': 1,\n",
       "  '布拉德·皮特': 1,\n",
       "  '布鲁斯·威利斯': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '特瑞·吉列姆': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1299586': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰米·李·柯蒂斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '约翰·卡朋特': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'25785807': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '托米·维尔科拉': 1,\n",
       "  '搞笑': 1,\n",
       "  '科幻': 1,\n",
       "  '美国': 1},\n",
       " {'1299665': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '卡尔海因茨·伯姆': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '迈克尔·鲍威尔': 1},\n",
       " {'1294183': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼斯·奎德': 1,\n",
       "  '伊丽莎白·米切尔': 1,\n",
       "  '剧情': 1,\n",
       "  '吉姆·卡维泽': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '格里高利·霍布里特': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '诺亚·艾默里奇': 1},\n",
       " {'25807345': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '莫瑞·史特林': 1},\n",
       " {'1294531': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '4.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯蒂安·史莱特': 1,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '动作': 1,\n",
       "  '小库珀·古丁': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '文艺': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '金·寇兹': 1,\n",
       "  '黑帮': 1},\n",
       " {'3626372': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '罗伯特·杜瓦尔': 1,\n",
       "  '美国': 1,\n",
       "  '西部': 1,\n",
       "  '青春': 1},\n",
       " {'4308001': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '4.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '黑帮': 1},\n",
       " {'3103418': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '西班牙': 1,\n",
       "  '路易斯·托萨尔': 1,\n",
       "  '阿尔维托·阿曼': 1,\n",
       "  '黑帮': 1},\n",
       " {'2061185': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '亚历山大·凯伊达诺夫斯基': 1,\n",
       "  '俄罗斯': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'1291554': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '歌舞': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '音乐': 1},\n",
       " {'1303698': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '严翔': 1,\n",
       "  '中国大陆': 1,\n",
       "  '仲星火': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'3395460': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '5.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '余文乐': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杜汶泽': 1,\n",
       "  '犯罪': 1,\n",
       "  '蔡少芬': 1,\n",
       "  '邱礼涛': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'1298252': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '刘伟强': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '千叶真一': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '舒淇': 1,\n",
       "  '郑伊健': 1,\n",
       "  '陈小春': 1,\n",
       "  '香港': 1,\n",
       "  '黎姿': 1,\n",
       "  '黑帮': 1},\n",
       " {'1291863': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '中野良子': 1,\n",
       "  '佐藤纯弥': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '原田芳雄': 1,\n",
       "  '喜剧': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '日本': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '田中邦卫': 1,\n",
       "  '经典': 1,\n",
       "  '西村晃': 1,\n",
       "  '高仓健': 1,\n",
       "  '黑帮': 1},\n",
       " {'1298525': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吴宇森': 1,\n",
       "  '坦迪·牛顿': 1,\n",
       "  '多格雷·斯科特': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文·瑞姆斯': 1,\n",
       "  '汤姆·克鲁斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '理查德·劳斯伯格': 1,\n",
       "  '经典': 1},\n",
       " {'1440855': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '德国': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '经典': 1,\n",
       "  '西尔维斯特·史泰龙': 1},\n",
       " {'1293147': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吴宇森': 1,\n",
       "  '周润发': 1,\n",
       "  '惊悚': 1,\n",
       "  '梁朝伟': 1,\n",
       "  '毛舜筠': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '陈欣健': 1,\n",
       "  '香港': 1,\n",
       "  '黄秋生': 1,\n",
       "  '黑帮': 1},\n",
       " {'1293381': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '弗里茨·朗': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'1291866': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '意大利': 1,\n",
       "  '经典': 1,\n",
       "  '西部': 1,\n",
       "  '阿兰·德龙': 1},\n",
       " {'1985959': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '卡拉·古奇诺': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰夫·丹尼尔斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '约瑟夫·高登-莱维特': 1,\n",
       "  '美国': 1,\n",
       "  '艾拉·菲舍尔': 1,\n",
       "  '马修·古迪': 1},\n",
       " {'3819877': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '犯罪': 1,\n",
       "  '瑞恩·雷诺兹': 1,\n",
       "  '经典': 1,\n",
       "  '西班牙': 1},\n",
       " {'1946607': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '喜剧': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '艾玛·罗伯茨': 1,\n",
       "  '青春': 1,\n",
       "  '麦克斯·泰瑞奥': 1},\n",
       " {'3009168': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '凯德·麦拉德': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '法国': 1,\n",
       "  '犯罪': 1,\n",
       "  '让·雷诺': 1,\n",
       "  '黑帮': 1},\n",
       " {'1297497': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '万梓良': 1,\n",
       "  '刘嘉玲': 1,\n",
       "  '刘德华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '周润发': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '谭咏麟': 1,\n",
       "  '香港': 1,\n",
       "  '黄泰来': 1,\n",
       "  '黑帮': 1},\n",
       " {'1295746': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '刘青云': 1,\n",
       "  '动作': 1,\n",
       "  '叶芳华': 1,\n",
       "  '惊悚': 1,\n",
       "  '李仁港': 1,\n",
       "  '李连杰': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '莫文蔚': 1,\n",
       "  '香港': 1,\n",
       "  '黄秋生': 1},\n",
       " {'1306692': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '张国荣': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '方中信': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '罗志良': 1,\n",
       "  '谷德昭': 1,\n",
       "  '陈法蓉': 1,\n",
       "  '香港': 1,\n",
       "  '黄卓玲': 1},\n",
       " {'1293434': 1,\n",
       "  'F·加里·格雷': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·吉亚玛提': 1,\n",
       "  '凯文·史派西': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '塞缪尔·杰克逊': 1,\n",
       "  '大卫·摩斯': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'26348414': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '中野良子': 1,\n",
       "  '佐藤纯弥': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '原田芳雄': 1,\n",
       "  '喜剧': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '日本': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '田中邦卫': 1,\n",
       "  '经典': 1,\n",
       "  '西村晃': 1,\n",
       "  '高仓健': 1,\n",
       "  '黑帮': 1},\n",
       " {'1298189': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吉奥瓦尼·瑞比西': 1,\n",
       "  '多米尼克·塞纳': 1,\n",
       "  '威廉姆·李·斯科特': 1,\n",
       "  '安吉丽娜·朱莉': 1,\n",
       "  '尼古拉斯·凯奇': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯科特·凯恩': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1293237': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吴天明': 1,\n",
       "  '周任莹': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '朱旭': 1,\n",
       "  '歌舞': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '赵志刚': 1,\n",
       "  '青春': 1,\n",
       "  '香港': 1},\n",
       " {'25723583': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '刘涛': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '成龙': 1,\n",
       "  '犯罪': 1,\n",
       "  '皮尔斯·布鲁斯南': 1,\n",
       "  '英国': 1,\n",
       "  '马丁·坎贝尔': 1,\n",
       "  '黑帮': 1},\n",
       " {'1428175': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '德国': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '杰曼·翰苏': 1,\n",
       "  '爱德华·兹威克': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '莱昂纳多·迪卡普里奥': 1,\n",
       "  '詹妮弗·康纳利': 1},\n",
       " {'1292450': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '刘青云': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卢海鹏': 1,\n",
       "  '悬疑': 1,\n",
       "  '梁朝伟': 1,\n",
       "  '游达志': 1,\n",
       "  '犯罪': 1,\n",
       "  '王天林': 1,\n",
       "  '经典': 1,\n",
       "  '邵美琪': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'10617168': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '4.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '张家辉': 1,\n",
       "  '彭顺': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '江一燕': 1,\n",
       "  '犯罪': 1,\n",
       "  '郭富城': 1,\n",
       "  '陈观泰': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'1303246': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔·舒马赫': 1,\n",
       "  '凯蒂·霍尔姆斯': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '基弗·萨瑟兰': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '拉达·米切尔': 1,\n",
       "  '犯罪': 1,\n",
       "  '福里斯特·惠特克': 1,\n",
       "  '科林·法瑞尔': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'5422105': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '刘青云': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '古天乐': 1,\n",
       "  '叶璇': 1,\n",
       "  '吴彦祖': 1,\n",
       "  '庄文强': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '曾江': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '麦兆辉': 1,\n",
       "  '黑帮': 1},\n",
       " {'1306160': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吴彦祖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '成龙': 1,\n",
       "  '杨采妮': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '蔡卓妍': 1,\n",
       "  '谢霆锋': 1,\n",
       "  '陈木胜': 1,\n",
       "  '香港': 1},\n",
       " {'10449606': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '金康宇': 1,\n",
       "  '金汎': 1,\n",
       "  '韩国': 1},\n",
       " {'26640849': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '坂本真绫': 1,\n",
       "  '奇幻': 1,\n",
       "  '小野大辅': 1,\n",
       "  '悬疑': 1,\n",
       "  '日本': 1,\n",
       "  '犯罪': 1,\n",
       "  '福山润': 1,\n",
       "  '经典': 1,\n",
       "  '魔幻': 1},\n",
       " {'1300581': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '关之琳': 1,\n",
       "  '刘德华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '犯罪': 1,\n",
       "  '王晶': 1,\n",
       "  '经典': 1,\n",
       "  '谭咏麟': 1,\n",
       "  '陈玉莲': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'1299195': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹波哲郎': 1,\n",
       "  '剧情': 1,\n",
       "  '加藤刚': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '日本': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'26260853': 1,\n",
       "  'F·加里·格雷': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰森·斯坦森': 1,\n",
       "  '查理兹·塞隆': 1,\n",
       "  '犯罪': 1,\n",
       "  '米歇尔·罗德里格兹': 1,\n",
       "  '经典': 1,\n",
       "  '范·迪塞尔': 1,\n",
       "  '道恩·强森': 1},\n",
       " {'10467098': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '印度': 1,\n",
       "  '女性': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '纳瓦祖丁·席迪圭': 1},\n",
       " {'1440347': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冈田英次': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '女性': 1,\n",
       "  '惊悚': 1,\n",
       "  '日本': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'3239906': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '4.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '布鲁斯·威利斯': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '玛琳·阿克曼': 1,\n",
       "  '福里斯特·惠特克': 1,\n",
       "  '美国': 1,\n",
       "  '西部': 1,\n",
       "  '黑帮': 1},\n",
       " {'1293167': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼斯·霍珀': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '基努·里维斯': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰夫·丹尼尔斯': 1,\n",
       "  '桑德拉·布洛克': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1299150': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冯德伦': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '劳剑华': 1,\n",
       "  '惊悚': 1,\n",
       "  '李心洁': 1,\n",
       "  '犯罪': 1,\n",
       "  '青春': 1,\n",
       "  '香港': 1},\n",
       " {'3397503': 1,\n",
       "  'R': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '印度': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '阿米尔·汗': 1,\n",
       "  '阿辛': 1},\n",
       " {'25858758': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '5.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '冯德伦': 1,\n",
       "  '刘德华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '张静初': 1,\n",
       "  '杨祐宁': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '舒淇': 1,\n",
       "  '让·雷诺': 1,\n",
       "  '香港': 1},\n",
       " {'25917973': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '中国大陆': 1,\n",
       "  '剧情': 1,\n",
       "  '忻钰坤': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'1297574': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '同性': 1,\n",
       "  '喜剧': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '犯罪': 1,\n",
       "  '石坚': 1,\n",
       "  '经典': 1,\n",
       "  '谢贤': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'1304102': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里夫·欧文': 1,\n",
       "  '克里斯·库珀': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '弗朗卡·波滕特': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '朱丽娅·斯蒂尔斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '道格·里曼': 1,\n",
       "  '马特·达蒙': 1},\n",
       " {'1401533': 1,\n",
       "  'J·J·艾布拉姆斯': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文·瑞姆斯': 1,\n",
       "  '比利·克鲁德普': 1,\n",
       "  '汤姆·克鲁斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '米歇尔·莫纳汉': 1,\n",
       "  '经典': 1,\n",
       "  '菲利普·塞默·霍夫曼': 1},\n",
       " {'1299966': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '伍咏薇': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '成龙': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '郑则仕': 1,\n",
       "  '香港': 1},\n",
       " {'1307694': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '刘伟强': 1,\n",
       "  '刘德华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '梁朝伟': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '陈慧琳': 1,\n",
       "  '陈道明': 1,\n",
       "  '香港': 1,\n",
       "  '麦兆辉': 1,\n",
       "  '黎明': 1,\n",
       "  '黑帮': 1},\n",
       " {'25798448': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丁晟': 1,\n",
       "  '刘德华': 1,\n",
       "  '刘烨': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '林雪': 1,\n",
       "  '犯罪': 1,\n",
       "  '王千源': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1},\n",
       " {'24750126': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '西班牙': 1,\n",
       "  '达里奥·格兰迪内蒂': 1},\n",
       " {'2124737': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '4.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '青春': 1,\n",
       "  '香港': 1},\n",
       " {'10764850': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卡兰·马尔韦': 1,\n",
       "  '喜剧': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '泰莉莎·帕尔墨': 1,\n",
       "  '澳大利亚': 1,\n",
       "  '犯罪': 1,\n",
       "  '西蒙·佩吉': 1},\n",
       " {'2124586': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '勒兰德·奥瑟': 1,\n",
       "  '强·格瑞斯': 1,\n",
       "  '惊悚': 1,\n",
       "  '法国': 1,\n",
       "  '法米克·詹森': 1,\n",
       "  '犯罪': 1,\n",
       "  '玛姬·格蕾斯': 1,\n",
       "  '经典': 1,\n",
       "  '连姆·尼森': 1},\n",
       " {'3025809': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '历史': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '西部': 1,\n",
       "  '黑帮': 1},\n",
       " {'24973419': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '同性': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '青春': 1},\n",
       " {'1790577': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '任贤齐': 1,\n",
       "  '何超仪': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吴镇宇': 1,\n",
       "  '张家辉': 1,\n",
       "  '惊悚': 1,\n",
       "  '杜琪峰': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '黄秋生': 1,\n",
       "  '黑帮': 1},\n",
       " {'3150816': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '励志': 1,\n",
       "  '卢克·梅伯利': 1,\n",
       "  '嘉玛·陈': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '科林·萨蒙': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1},\n",
       " {'1305686': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '杜夫·龙格尔': 1,\n",
       "  '杰罗恩·克拉比': 1,\n",
       "  '澳大利亚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'26661183': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '3.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '张涵予': 1,\n",
       "  '悬疑': 1,\n",
       "  '搞笑': 1,\n",
       "  '杜鹃': 1,\n",
       "  '犯罪': 1,\n",
       "  '王耀庆': 1,\n",
       "  '香港': 1,\n",
       "  '黎明': 1},\n",
       " {'1578507': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·格林格拉斯': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '大卫·斯特雷泽恩': 1,\n",
       "  '帕迪·康斯戴恩': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯科特·格伦': 1,\n",
       "  '朱丽娅·斯蒂尔斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '马特·达蒙': 1},\n",
       " {'1309046': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '娜塔莉·波特曼': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '斯蒂芬·弗雷': 1,\n",
       "  '斯蒂芬·瑞': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '约翰·赫特': 1,\n",
       "  '经典': 1,\n",
       "  '雨果·维文': 1},\n",
       " {'1401535': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '伦·怀斯曼': 1,\n",
       "  '克利夫·柯蒂斯': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '布鲁斯·威利斯': 1,\n",
       "  '惊悚': 1,\n",
       "  '李美琪': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '蒂莫西·奥利芬特': 1,\n",
       "  '贾斯汀·朗': 1},\n",
       " {'1307577': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '李小龙': 1,\n",
       "  '林正英': 1,\n",
       "  '武侠': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '罗维': 1,\n",
       "  '苗可秀': 1,\n",
       "  '香港': 1},\n",
       " {'3412882': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '刘青云': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '古天乐': 1,\n",
       "  '吴彦祖': 1,\n",
       "  '庄文强': 1,\n",
       "  '张静初': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '方中信': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '麦兆辉': 1},\n",
       " {'25749872': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '女性': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '摩根·弗里曼': 1,\n",
       "  '欧嘉·柯瑞兰寇': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '詹姆斯·鲍弗': 1},\n",
       " {'1297670': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '李连杰': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '阿丽雅': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'1306804': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1},\n",
       " {'25966085': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '犯罪': 1,\n",
       "  '谭耀文': 1,\n",
       "  '郭富城': 1,\n",
       "  '金燕玲': 1,\n",
       "  '香港': 1},\n",
       " {'7059561': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '史蒂芬·戴德利': 1,\n",
       "  '喜剧': 1,\n",
       "  '巴西': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '瓦格纳·马拉': 1,\n",
       "  '青春': 1},\n",
       " {'1300857': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '任达华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '周润发': 1,\n",
       "  '惊悚': 1,\n",
       "  '林岭东': 1,\n",
       "  '柏安妮': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '黄秋生': 1,\n",
       "  '黑帮': 1},\n",
       " {'2027938': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '刘青云': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '安志杰': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杜琪峰': 1,\n",
       "  '林家栋': 1,\n",
       "  '林熙蕾': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '韦家辉': 1,\n",
       "  '香港': 1},\n",
       " {'1417555': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '托尼·贾': 1,\n",
       "  '普拉奇亚·平克尧': 1,\n",
       "  '泰国': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'1303562': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '法国': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '罗伯特·布列松': 1},\n",
       " {'5364905': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '2.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '佟大为': 1,\n",
       "  '冒险': 1,\n",
       "  '刘德华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '张静初': 1,\n",
       "  '悬疑': 1,\n",
       "  '搞笑': 1,\n",
       "  '斯琴高娃': 1,\n",
       "  '林志玲': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '香港': 1},\n",
       " {'6738735': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '任达华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '张家辉': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '文咏珊': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '王敏德 ': 1,\n",
       "  '谢安琪': 1,\n",
       "  '香港': 1},\n",
       " {'26373527': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '德国': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '青春': 1},\n",
       " {'26747274': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '4.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '余文乐': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '张晋': 1,\n",
       "  '惊悚': 1,\n",
       "  '文咏珊': 1,\n",
       "  '林家栋': 1,\n",
       "  '犯罪': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'6846495': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '9.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '格雷戈瓦·勒普兰斯-林盖': 1,\n",
       "  '法国': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'1921003': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '黑帮': 1},\n",
       " {'1308855': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '任贤齐': 1,\n",
       "  '任达华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '张家辉': 1,\n",
       "  '悬疑': 1,\n",
       "  '杜琪峰': 1,\n",
       "  '林雪': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '陈慧琳': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'1297395': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '关之琳': 1,\n",
       "  '刘德华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '徐少强': 1,\n",
       "  '林忆莲': 1,\n",
       "  '泰迪·罗宾': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1},\n",
       " {'1418190': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼尔·克雷格': 1,\n",
       "  '伊娃·格林': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '朱迪·丹奇': 1,\n",
       "  '杰弗里·怀特': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '马丁·坎贝尔': 1,\n",
       "  '麦斯·米科尔森': 1},\n",
       " {'1298898': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '刘德华': 1,\n",
       "  '刘青云': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '李子雄': 1,\n",
       "  '杜琪峰': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '蒙嘉慧': 1,\n",
       "  '许绍雄': 1,\n",
       "  '香港': 1},\n",
       " {'3009161': 1,\n",
       "  'F·加里·格雷': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '布鲁斯·麦克吉尔': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰拉德·巴特勒': 1,\n",
       "  '杰米·福克斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '科尔姆·米尼': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '莱丝莉·比伯': 1},\n",
       " {'3288399': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '澳大利亚': 1,\n",
       "  '犯罪': 1,\n",
       "  '青春': 1},\n",
       " {'1300069': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '凯瑟琳·泽塔-琼斯': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '威尔·帕顿': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文·瑞姆斯': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '肖恩·康纳利': 1},\n",
       " {'1301345': 1,\n",
       "  'F·加里·格雷': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '唐纳德·萨瑟兰': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰森·斯坦森': 1,\n",
       "  '查理兹·塞隆': 1,\n",
       "  '爱德华·诺顿': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '马克·沃尔伯格': 1},\n",
       " {'2297265': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '德国': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '青春': 1},\n",
       " {'1292846': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '林国斌': 1,\n",
       "  '林威': 1,\n",
       "  '沈威': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '陈敬': 1,\n",
       "  '香港': 1},\n",
       " {'1300741': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '任达华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吕颂贤': 1,\n",
       "  '吴镇宇': 1,\n",
       "  '张耀扬': 1,\n",
       "  '悬疑': 1,\n",
       "  '杜琪峰': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '黄秋生': 1,\n",
       "  '黑帮': 1},\n",
       " {'3013580': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '任贤齐': 1,\n",
       "  '冯淬帆': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '古天乐': 1,\n",
       "  '叶璇': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '林雪': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '郑保瑞': 1,\n",
       "  '香港': 1},\n",
       " {'1293072': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乌苏拉·安德丝': 1,\n",
       "  '伯纳德·李': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '特伦斯·杨': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '肖恩·康纳利': 1,\n",
       "  '英国': 1},\n",
       " {'1301715': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔什·卢卡斯': 1,\n",
       "  '克里斯蒂安·贝尔': 1,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '比尔·萨奇': 1,\n",
       "  '犯罪': 1,\n",
       "  '科洛·塞维尼': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '贾斯汀·塞洛克斯': 1},\n",
       " {'5159694': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '战争': 1,\n",
       "  '文艺': 1,\n",
       "  '日本': 1,\n",
       "  '犯罪': 1,\n",
       "  '田中隆三': 1,\n",
       "  '经典': 1},\n",
       " {'4133814': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '张家辉': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '林超贤': 1,\n",
       "  '桂纶镁': 1,\n",
       "  '犯罪': 1,\n",
       "  '苗圃': 1,\n",
       "  '谢霆锋': 1,\n",
       "  '陆毅': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'2215964': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '刘德华': 1,\n",
       "  '剧情': 1,\n",
       "  '叶德娴': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '黄泰来': 1},\n",
       " {'1507151': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '尊龙': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '戴文青木': 1,\n",
       "  '李连杰': 1,\n",
       "  '杰森·斯坦森': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '路易斯·古兹曼': 1,\n",
       "  '黑帮': 1},\n",
       " {'4290934': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '凯文·贝肯': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰曼·翰苏': 1,\n",
       "  '泰国': 1,\n",
       "  '犯罪': 1,\n",
       "  '黑帮': 1},\n",
       " {'26589957': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '3.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '俄罗斯': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '战争': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '魔幻': 1},\n",
       " {'1293345': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '加布里埃尔·费泽蒂': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '黛安娜·里格': 1},\n",
       " {'1293107': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '志垣太郎': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '日本': 1,\n",
       "  '松坂庆子': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'26279229': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '姜栋元': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '朴素丹': 1,\n",
       "  '犯罪': 1,\n",
       "  '金允石': 1,\n",
       "  '韩国': 1,\n",
       "  '魔幻': 1},\n",
       " {'1300183': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '林子善': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '麦家琪': 1,\n",
       "  '黄秋生': 1,\n",
       "  '黑帮': 1},\n",
       " {'1296141': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '9.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '拉尔夫·理查德森': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '黛安娜·里格': 1},\n",
       " {'1304608': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '休·杰克曼': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '哈莉·贝瑞': 1,\n",
       "  '唐·钱德尔': 1,\n",
       "  '多米尼克·塞纳': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '澳大利亚': 1,\n",
       "  '犯罪': 1,\n",
       "  '约翰·特拉沃尔塔': 1,\n",
       "  '经典': 1,\n",
       "  '维尼·琼斯': 1},\n",
       " {'1307914': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '9.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '刘伟强': 1,\n",
       "  '刘德华': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '曾志伟': 1,\n",
       "  '梁朝伟': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '郑秀文': 1,\n",
       "  '香港': 1,\n",
       "  '麦兆辉': 1,\n",
       "  '黄秋生': 1,\n",
       "  '黑帮': 1},\n",
       " {'1937257': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '喜剧': 1,\n",
       "  '大卫·休默': 1,\n",
       "  '娜塔莎·麦克艾霍恩': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '爱丽丝·伊芙': 1,\n",
       "  '犯罪': 1,\n",
       "  '西蒙·佩吉': 1},\n",
       " {'3158432': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '佐伊·索尔达娜': 1,\n",
       "  '保罗·沃克': 1,\n",
       "  '克里斯·布朗': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '海登·克里斯滕森': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '马特·狄龙': 1,\n",
       "  '黑帮': 1},\n",
       " {'5157137': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '战争': 1,\n",
       "  '犯罪': 1,\n",
       "  '罗塞莉·桑切斯': 1,\n",
       "  '美国': 1},\n",
       " {'1293352': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '亨弗莱·鲍嘉': 1,\n",
       "  '劳伦·白考尔': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1947080': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '尚格·云顿': 1,\n",
       "  '彼得·斯特曼': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '玛利亚·康柯塔·阿隆索': 1,\n",
       "  '美国': 1,\n",
       "  '黑帮': 1},\n",
       " {'1308713': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '托尼·贾': 1,\n",
       "  '普拉奇亚·平克尧': 1,\n",
       "  '泰国': 1,\n",
       "  '派特察泰·王卡姆劳': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'1299658': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吴家丽': 1,\n",
       "  '周润发': 1,\n",
       "  '孙越': 1,\n",
       "  '张耀扬': 1,\n",
       "  '惊悚': 1,\n",
       "  '李修贤': 1,\n",
       "  '林岭东': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'26336253': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '佘诗曼': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '古天乐': 1,\n",
       "  '吴镇宇': 1,\n",
       "  '张家辉': 1,\n",
       "  '悬疑': 1,\n",
       "  '搞笑': 1,\n",
       "  '犯罪': 1,\n",
       "  '许绍雄': 1,\n",
       "  '香港': 1},\n",
       " {'1315316': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰克·尼科尔森': 1,\n",
       "  '犯罪': 1,\n",
       "  '莱昂纳多·迪卡普里奥': 1,\n",
       "  '香港': 1,\n",
       "  '马丁·斯科塞斯': 1,\n",
       "  '马丁·辛': 1,\n",
       "  '马克·沃尔伯格': 1,\n",
       "  '马特·达蒙': 1,\n",
       "  '黑帮': 1},\n",
       " {'1300618': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '尼古拉斯·凯奇': 1,\n",
       "  '惊悚': 1,\n",
       "  '文·瑞姆斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '科尔姆·米尼': 1,\n",
       "  '约翰·库萨克': 1,\n",
       "  '约翰·马尔科维奇': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '西蒙·韦斯特': 1},\n",
       " {'1305183': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '惊悚': 1,\n",
       "  '成龙': 1,\n",
       "  '搞笑': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '詹妮弗·洛芙·休伊特': 1,\n",
       "  '詹森·艾萨克': 1,\n",
       "  '香港': 1},\n",
       " {'26419637': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '印度': 1,\n",
       "  '塔布': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '阿贾耶·德乌干': 1},\n",
       " {'1307106': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '余文乐': 1,\n",
       "  '刘伟强': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吴镇宇': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '曾志伟': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '陈冠希': 1,\n",
       "  '香港': 1,\n",
       "  '麦兆辉': 1,\n",
       "  '黄秋生': 1,\n",
       "  '黑帮': 1},\n",
       " {'26580232': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '西班牙': 1},\n",
       " {'3541415': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '9.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克里斯托弗·诺兰': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '汤姆·哈迪': 1,\n",
       "  '渡边谦': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '约瑟夫·高登-莱维特': 1,\n",
       "  '经典': 1,\n",
       "  '艾伦·佩吉': 1,\n",
       "  '英国': 1,\n",
       "  '莱昂纳多·迪卡普里奥': 1},\n",
       " {'6311260': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '9.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'1300303': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '山本未来': 1,\n",
       "  '成龙': 1,\n",
       "  '搞笑': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '陈木胜': 1,\n",
       "  '香港': 1},\n",
       " {'1388176': 1,\n",
       "  'Michael': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1,\n",
       "  '黑帮': 1},\n",
       " {'1297735': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '意大利': 1,\n",
       "  '犯罪': 1,\n",
       "  '皮埃尔·布拉瑟': 1,\n",
       "  '经典': 1,\n",
       "  '阿莉达·瓦利': 1},\n",
       " {'3068206': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '宝拉·巴顿': 1,\n",
       "  '布拉德·伯德': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '杰瑞米·雷纳': 1,\n",
       "  '汤姆·克鲁斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '美国': 1,\n",
       "  '西蒙·佩吉': 1},\n",
       " {'1292638': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '特伦斯·杨': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '肖恩·康纳利': 1,\n",
       "  '英国': 1},\n",
       " {'1309110': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹泽尔·华盛顿': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '托尼·斯科特': 1,\n",
       "  '犯罪': 1,\n",
       "  '约翰·特托罗': 1,\n",
       "  '约翰·特拉沃尔塔': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '路易斯·古兹曼': 1},\n",
       " {'1292223': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '克洛德·夏布洛尔': 1,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '意大利': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '罗杰·瓦迪姆': 1,\n",
       "  '让-吕克·戈达尔': 1,\n",
       "  '让-皮埃尔·卡塞尔': 1},\n",
       " {'3804891': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '中国大陆': 1,\n",
       "  '余男': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '多布杰': 1,\n",
       "  '宁浩': 1,\n",
       "  '徐峥': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '犯罪': 1,\n",
       "  '王双宝': 1,\n",
       "  '经典': 1,\n",
       "  '西部': 1,\n",
       "  '黄渤': 1},\n",
       " {'6985810': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.8',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '安圣基': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '犯罪': 1,\n",
       "  '赵震雄': 1,\n",
       "  '韩国': 1,\n",
       "  '韩艺璃': 1},\n",
       " {'3542615': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.5',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '传记': 1,\n",
       "  '冒险': 1,\n",
       "  '凯拉·塞吉维克': 1,\n",
       "  '凯西·贝克': 1,\n",
       "  '剧情': 1,\n",
       "  '加拿大': 1,\n",
       "  '动作': 1,\n",
       "  '励志': 1,\n",
       "  '威廉姆·H·梅西': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '感人': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1},\n",
       " {'1400868': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '喜剧': 1,\n",
       "  '张曼玉': 1,\n",
       "  '惊悚': 1,\n",
       "  '成龙': 1,\n",
       "  '搞笑': 1,\n",
       "  '林青霞': 1,\n",
       "  '楚原': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '董骠': 1,\n",
       "  '香港': 1},\n",
       " {'1921382': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吴镇宇': 1,\n",
       "  '哈威·凯特尔': 1,\n",
       "  '喜剧': 1,\n",
       "  '悬疑': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '狄龙': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'1292659': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '吴天明': 1,\n",
       "  '周任莹': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '文艺': 1,\n",
       "  '朱旭': 1,\n",
       "  '歌舞': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '经典': 1,\n",
       "  '赵志刚': 1,\n",
       "  '青春': 1,\n",
       "  '香港': 1},\n",
       " {'1305114': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '吴镇宇': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '黎姿': 1},\n",
       " {'2135981': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '恐怖': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '经典': 1,\n",
       "  '香港': 1,\n",
       "  '魔幻': 1},\n",
       " {'26607693': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '传记': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '历史': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '战争': 1,\n",
       "  '法国': 1,\n",
       "  '经典': 1},\n",
       " {'3743114': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '李艾': 1,\n",
       "  '河正宇': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '郑满植': 1,\n",
       "  '金允石': 1,\n",
       "  '香港': 1,\n",
       "  '黑帮': 1},\n",
       " {'1306870': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '李小龙': 1,\n",
       "  '武侠': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '苗可秀': 1,\n",
       "  '香港': 1},\n",
       " {'25889465': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '凯特·波茨沃斯': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '戴夫·巴蒂斯塔': 1,\n",
       "  '摩里斯·切斯塔特': 1,\n",
       "  '杰弗里·迪恩·摩根': 1,\n",
       "  '犯罪': 1,\n",
       "  '罗伯特·德尼罗': 1,\n",
       "  '美国': 1,\n",
       "  '黑帮': 1},\n",
       " {'1294863': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '布鲁斯·威利斯': 1,\n",
       "  '德国': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '理查·基尔': 1,\n",
       "  '经典': 1},\n",
       " {'1307442': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '伊娃·门德斯': 1,\n",
       "  '保罗·沃克': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '德国': 1,\n",
       "  '惊悚': 1,\n",
       "  '泰瑞斯·吉布森': 1,\n",
       "  '犯罪': 1,\n",
       "  '约翰·辛格顿': 1,\n",
       "  '经典': 1},\n",
       " {'11620560': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '6.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '丹尼尔·克雷格': 1,\n",
       "  '克里斯托弗·沃尔兹': 1,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '娜奥米·哈里斯': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '本·卫肖': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '萨姆·门德斯': 1,\n",
       "  '蕾雅·赛杜': 1},\n",
       " {'26946508': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.2',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '女性': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '申河均': 1,\n",
       "  '盛骏': 1,\n",
       "  '金玉彬': 1,\n",
       "  '韩国': 1},\n",
       " {'1292344': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '乔治·克鲁尼': 1,\n",
       "  '冒险': 1,\n",
       "  '凯瑟琳·泽塔-琼斯': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '史蒂文·索德伯格': 1,\n",
       "  '喜剧': 1,\n",
       "  '安迪·加西亚': 1,\n",
       "  '布拉德·皮特': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '朱莉娅·罗伯茨': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'1298443': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.0',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '武侠': 1,\n",
       "  '经典': 1,\n",
       "  '谷峰': 1,\n",
       "  '香港': 1},\n",
       " {'26339213': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.4',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '埃米尔·赫斯基': 1,\n",
       "  '奇幻': 1,\n",
       "  '奥菲利亚·拉维邦德': 1,\n",
       "  '布莱恩·考克斯': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1},\n",
       " {'1308767': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'rat': '8.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·格林格拉斯': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卡尔·厄本': 1,\n",
       "  '布莱恩·考克斯': 1,\n",
       "  '弗朗卡·波滕特': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '朱丽娅·斯蒂尔斯': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '马特·达蒙': 1},\n",
       " {'4861404': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '5.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '奇幻': 1,\n",
       "  '姜栋元': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '科幻': 1,\n",
       "  '郑恩彩': 1,\n",
       "  '韩国': 1,\n",
       "  '高修': 1,\n",
       "  '魔幻': 1},\n",
       " {'1506769': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '8.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '休·弗拉瑟': 1,\n",
       "  '剧情': 1,\n",
       "  '大卫·苏切': 1,\n",
       "  '悬疑': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '菲利普·杰克森': 1},\n",
       " {'26801782': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.3',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '中国大陆': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '悬疑': 1,\n",
       "  '热依扎': 1,\n",
       "  '犯罪': 1,\n",
       "  '白举纲': 1,\n",
       "  '经典': 1},\n",
       " {'6876154': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '大卫·丹席克': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '杰森·弗莱明': 1,\n",
       "  '潘妮拉·奥古斯特': 1,\n",
       "  '爱情': 1,\n",
       "  '犯罪': 1,\n",
       "  '瑞典': 1,\n",
       "  '米卡埃尔·佩斯布兰特': 1,\n",
       "  '经典': 1},\n",
       " {'25920885': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.9',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '本尼迪克特·康伯巴奇': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '英国': 1,\n",
       "  '马丁·弗瑞曼': 1,\n",
       "  '马克·加蒂斯': 1,\n",
       "  '鲁珀特·格雷夫斯': 1},\n",
       " {'1483239': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '保罗·沃克': 1,\n",
       "  '冒险': 1,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '卡梅隆·布莱特': 1,\n",
       "  '卡瑞尔·罗登': 1,\n",
       "  '德国': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '查兹·帕尔明特瑞': 1,\n",
       "  '犯罪': 1,\n",
       "  '维拉·法米加': 1,\n",
       "  '黑帮': 1},\n",
       " {'1293828': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'rat': '7.1',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '冒险': 1,\n",
       "  '动作': 1,\n",
       "  '惊悚': 1,\n",
       "  '犯罪': 1,\n",
       "  '盖伊·汉弥尔顿': 1,\n",
       "  '经典': 1,\n",
       "  '肖恩·康纳利': 1,\n",
       "  '英国': 1},\n",
       " {'25925430': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.7',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '传记': 1,\n",
       "  '剧情': 1,\n",
       "  '历史': 1,\n",
       "  '女性': 1,\n",
       "  '悬疑': 1,\n",
       "  '文艺': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '郭可盈': 1,\n",
       "  '香港': 1},\n",
       " {'1292288': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '7.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '传记': 1,\n",
       "  '剧情': 1,\n",
       "  '悬疑': 1,\n",
       "  '犯罪': 1,\n",
       "  '经典': 1,\n",
       "  '美国': 1},\n",
       " {'25824009': 1,\n",
       "  'TIME_DIS': 0.0,\n",
       "  'cf2349f9c01f9a5cd4050aebd30ab74f': 1,\n",
       "  'other_actor': 1,\n",
       "  'other_director': 1,\n",
       "  'rat': '6.6',\n",
       "  'ravg': 3.85714,\n",
       "  'rcount': 7.0,\n",
       "  'rmax': 5.0,\n",
       "  'rmedian': 4.0,\n",
       "  'rmin': 2.0,\n",
       "  'rsum': 27.0,\n",
       "  '剧情': 1,\n",
       "  '动作': 1,\n",
       "  '印度': 1,\n",
       "  '喜剧': 1,\n",
       "  '恐怖': 1,\n",
       "  '悬疑': 1,\n",
       "  '惊悚': 1,\n",
       "  '搞笑': 1,\n",
       "  '歌舞': 1,\n",
       "  '沙鲁克·汗': 1,\n",
       "  '犯罪': 1}]"
      ]
     },
     "execution_count": 46,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dict_list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "q79U_qXMWxJG"
   },
   "outputs": [],
   "source": [
    "predict_X = v_from_pkl.transform(dict_list)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "xscCvdJUXNL2"
   },
   "outputs": [],
   "source": [
    "#predict_X = scaler.transform(predict_X)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "hcdrgFaLg8iC"
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "hirUU3VNXZ2F"
   },
   "outputs": [],
   "source": [
    "\n",
    "predict_file_ = '/content/drive/My Drive/colabnotebook/recsys_predict.txt'\n",
    "predict_file = '/content/drive/My\\ Drive/colabnotebook/recsys_predict.txt'\n",
    "\n",
    "dump_svmlight_file(predict_X, np.zeros(predict_X.shape[0]), predict_file_)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 54
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 222749,
     "status": "ok",
     "timestamp": 1546519065237,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "1RLmjtAqXxfy",
    "outputId": "6c486e1d-150c-4d02-de1a-33c2a94568a6"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['----------------------------------------------------------------------------', 'libFM', '  Version: 1.4.4', '  Author:  Steffen Rendle, srendle@libfm.org', '  WWW:     http://www.libfm.org/', 'This program comes with ABSOLUTELY NO WARRANTY; for details see license.txt.', 'This is free software, and you are welcome to redistribute it under certain', 'conditions; for details see license.txt.', '----------------------------------------------------------------------------', 'Loading train...\\t', 'has x = 0', 'has xt = 1', 'num_rows=280000\\tnum_values=6371577\\tnum_features=75619\\tmin_target=1\\tmax_target=5', 'Loading test... \\t', 'has x = 0', 'has xt = 1', 'num_rows=368\\tnum_values=7116\\tnum_features=75619\\tmin_target=0\\tmax_target=0', '#relations: 0', 'Loading meta data...\\t', '#Iter=  0\\tTrain=1.01735\\tTest=1.09346', '#Iter=  1\\tTrain=0.892306\\tTest=1.09346', '#Iter=  2\\tTrain=0.876416\\tTest=1.09466', '#Iter=  3\\tTrain=0.870981\\tTest=1.09432', '#Iter=  4\\tTrain=0.867124\\tTest=1.11012', '#Iter=  5\\tTrain=0.865304\\tTest=1.12314', '#Iter=  6\\tTrain=0.863637\\tTest=1.11805', '#Iter=  7\\tTrain=0.861615\\tTest=1.11441', '#Iter=  8\\tTrain=0.860019\\tTest=1.11169', '#Iter=  9\\tTrain=0.858103\\tTest=1.47041', '#Iter= 10\\tTrain=0.856925\\tTest=1.68251', '#Iter= 11\\tTrain=0.855533\\tTest=1.90849', '#Iter= 12\\tTrain=0.854873\\tTest=2.13928', '#Iter= 13\\tTrain=0.853186\\tTest=2.33919', '#Iter= 14\\tTrain=0.852701\\tTest=2.51338', '#Iter= 15\\tTrain=0.851735\\tTest=2.6666', '#Iter= 16\\tTrain=0.850763\\tTest=2.80222', '#Iter= 17\\tTrain=0.84979\\tTest=2.92307', '#Iter= 18\\tTrain=0.849633\\tTest=3.0314', '#Iter= 19\\tTrain=0.849454\\tTest=3.12905', '#Iter= 20\\tTrain=0.84862\\tTest=3.21751', '#Iter= 21\\tTrain=0.848263\\tTest=3.29801', '#Iter= 22\\tTrain=0.847661\\tTest=3.37158', '#Iter= 23\\tTrain=0.847362\\tTest=3.43906', '#Iter= 24\\tTrain=0.84704\\tTest=3.50119', '#Iter= 25\\tTrain=0.847497\\tTest=3.55857', '#Iter= 26\\tTrain=0.846562\\tTest=3.61172', '#Iter= 27\\tTrain=0.846478\\tTest=3.6611', '#Iter= 28\\tTrain=0.845427\\tTest=3.70709', '#Iter= 29\\tTrain=0.844868\\tTest=3.75004', '#Iter= 30\\tTrain=0.845294\\tTest=3.79022', '#Iter= 31\\tTrain=0.844168\\tTest=3.8279', '#Iter= 32\\tTrain=0.844476\\tTest=3.86331', '#Iter= 33\\tTrain=0.844275\\tTest=3.89665', '#Iter= 34\\tTrain=0.844481\\tTest=3.92808', '#Iter= 35\\tTrain=0.843983\\tTest=3.95778', '#Iter= 36\\tTrain=0.843556\\tTest=3.98587', '#Iter= 37\\tTrain=0.843372\\tTest=4.0125', '#Iter= 38\\tTrain=0.843046\\tTest=4.03776', '#Iter= 39\\tTrain=0.843178\\tTest=4.06176', '#Iter= 40\\tTrain=0.842426\\tTest=4.08459', '#Iter= 41\\tTrain=0.842464\\tTest=4.10634', '#Iter= 42\\tTrain=0.842314\\tTest=4.12708', '#Iter= 43\\tTrain=0.841444\\tTest=4.14688', '#Iter= 44\\tTrain=0.84129\\tTest=4.1658', '#Iter= 45\\tTrain=0.841626\\tTest=4.1839', '#Iter= 46\\tTrain=0.840558\\tTest=4.20123', '#Iter= 47\\tTrain=0.839626\\tTest=4.21785', '#Iter= 48\\tTrain=0.839572\\tTest=4.23378', '#Iter= 49\\tTrain=0.838823\\tTest=4.24908', '#Iter= 50\\tTrain=0.838981\\tTest=4.26378', '#Iter= 51\\tTrain=0.838891\\tTest=4.27792', '#Iter= 52\\tTrain=0.838969\\tTest=4.29152', '#Iter= 53\\tTrain=0.838671\\tTest=4.30462', '#Iter= 54\\tTrain=0.838135\\tTest=4.31724', '#Iter= 55\\tTrain=0.837806\\tTest=4.32942', '#Iter= 56\\tTrain=0.837416\\tTest=4.34117', '#Iter= 57\\tTrain=0.837713\\tTest=4.35251', '#Iter= 58\\tTrain=0.836406\\tTest=4.36347', '#Iter= 59\\tTrain=0.836526\\tTest=4.37407', '#Iter= 60\\tTrain=0.835899\\tTest=4.38431', '#Iter= 61\\tTrain=0.836669\\tTest=4.39423', '#Iter= 62\\tTrain=0.835297\\tTest=4.40383', '#Iter= 63\\tTrain=0.834976\\tTest=4.41314', '#Iter= 64\\tTrain=0.835314\\tTest=4.42216', '#Iter= 65\\tTrain=0.835643\\tTest=4.4309', '#Iter= 66\\tTrain=0.834524\\tTest=4.43939', '#Iter= 67\\tTrain=0.834127\\tTest=4.44762', '#Iter= 68\\tTrain=0.834442\\tTest=4.45562', '#Iter= 69\\tTrain=0.8342\\tTest=4.46339', '#Iter= 70\\tTrain=0.832793\\tTest=4.47094', '#Iter= 71\\tTrain=0.83242\\tTest=4.47828', '#Iter= 72\\tTrain=0.832947\\tTest=4.48542', '#Iter= 73\\tTrain=0.832025\\tTest=4.49236', '#Iter= 74\\tTrain=0.832168\\tTest=4.49913', '#Iter= 75\\tTrain=0.831959\\tTest=4.50571', '#Iter= 76\\tTrain=0.831716\\tTest=4.51212', '#Iter= 77\\tTrain=0.831262\\tTest=4.51837', '#Iter= 78\\tTrain=0.831258\\tTest=4.52446', '#Iter= 79\\tTrain=0.830325\\tTest=4.5304', '#Iter= 80\\tTrain=0.829597\\tTest=4.53619', '#Iter= 81\\tTrain=0.829245\\tTest=4.54184', '#Iter= 82\\tTrain=0.828937\\tTest=4.54736', '#Iter= 83\\tTrain=0.827719\\tTest=4.55274', '#Iter= 84\\tTrain=0.828599\\tTest=4.558', '#Iter= 85\\tTrain=0.827963\\tTest=4.56314', '#Iter= 86\\tTrain=0.827668\\tTest=4.56815', '#Iter= 87\\tTrain=0.827388\\tTest=4.57306', '#Iter= 88\\tTrain=0.828216\\tTest=4.57785', '#Iter= 89\\tTrain=0.827183\\tTest=4.58254', '#Iter= 90\\tTrain=0.826218\\tTest=4.58712', '#Iter= 91\\tTrain=0.826301\\tTest=4.59161', '#Iter= 92\\tTrain=0.824681\\tTest=4.59599', '#Iter= 93\\tTrain=0.824568\\tTest=4.60029', '#Iter= 94\\tTrain=0.824603\\tTest=4.60449', '#Iter= 95\\tTrain=0.824493\\tTest=4.60861', '#Iter= 96\\tTrain=0.824058\\tTest=4.61264', '#Iter= 97\\tTrain=0.82375\\tTest=4.61659', '#Iter= 98\\tTrain=0.823371\\tTest=4.62046', '#Iter= 99\\tTrain=0.821868\\tTest=4.62425', '#Iter=100\\tTrain=0.821484\\tTest=4.62797', '#Iter=101\\tTrain=0.821939\\tTest=4.63162', '#Iter=102\\tTrain=0.821882\\tTest=4.63519', '#Iter=103\\tTrain=0.820357\\tTest=4.6387', '#Iter=104\\tTrain=0.820183\\tTest=4.64213', '#Iter=105\\tTrain=0.82013\\tTest=4.64551', '#Iter=106\\tTrain=0.819004\\tTest=4.64882', '#Iter=107\\tTrain=0.818861\\tTest=4.65207', '#Iter=108\\tTrain=0.818174\\tTest=4.65526', '#Iter=109\\tTrain=0.817989\\tTest=4.65839', '#Iter=110\\tTrain=0.816946\\tTest=4.66147', '#Iter=111\\tTrain=0.816804\\tTest=4.66449', '#Iter=112\\tTrain=0.81612\\tTest=4.66745', '#Iter=113\\tTrain=0.815546\\tTest=4.67037', '#Iter=114\\tTrain=0.816164\\tTest=4.67323', '#Iter=115\\tTrain=0.815407\\tTest=4.67605', '#Iter=116\\tTrain=0.81536\\tTest=4.67882', '#Iter=117\\tTrain=0.814503\\tTest=4.68154', '#Iter=118\\tTrain=0.814006\\tTest=4.68421', '#Iter=119\\tTrain=0.813343\\tTest=4.68684', '#Iter=120\\tTrain=0.812718\\tTest=4.68943', '#Iter=121\\tTrain=0.812417\\tTest=4.69197', '#Iter=122\\tTrain=0.811159\\tTest=4.69448', '#Iter=123\\tTrain=0.81129\\tTest=4.69694', '#Iter=124\\tTrain=0.810832\\tTest=4.69936', '#Iter=125\\tTrain=0.810079\\tTest=4.70175', '#Iter=126\\tTrain=0.810463\\tTest=4.70409', '#Iter=127\\tTrain=0.809147\\tTest=4.7064', '#Iter=128\\tTrain=0.809438\\tTest=4.70868', '#Iter=129\\tTrain=0.809084\\tTest=4.71092', '#Iter=130\\tTrain=0.808223\\tTest=4.71312', '#Iter=131\\tTrain=0.808386\\tTest=4.7153', '#Iter=132\\tTrain=0.806754\\tTest=4.71744', '#Iter=133\\tTrain=0.807002\\tTest=4.71954', '#Iter=134\\tTrain=0.805975\\tTest=4.72162', '#Iter=135\\tTrain=0.805966\\tTest=4.72367', '#Iter=136\\tTrain=0.805592\\tTest=4.72568', '#Iter=137\\tTrain=0.804622\\tTest=4.72767', '#Iter=138\\tTrain=0.805011\\tTest=4.72963', '#Iter=139\\tTrain=0.804394\\tTest=4.73156', '#Iter=140\\tTrain=0.803823\\tTest=4.73346', '#Iter=141\\tTrain=0.803459\\tTest=4.73534', '#Iter=142\\tTrain=0.802764\\tTest=4.73719', '#Iter=143\\tTrain=0.801373\\tTest=4.73901', '#Iter=144\\tTrain=0.801025\\tTest=4.74081', '#Iter=145\\tTrain=0.800017\\tTest=4.74258', '#Iter=146\\tTrain=0.79893\\tTest=4.74433', '#Iter=147\\tTrain=0.799228\\tTest=4.74606', '#Iter=148\\tTrain=0.798797\\tTest=4.74776', '#Iter=149\\tTrain=0.797683\\tTest=4.74945']\n"
     ]
    }
   ],
   "source": [
    "libfm_predict_final = FM(train_file, predict_file, classification=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 714
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 827,
     "status": "ok",
     "timestamp": 1546519072532,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "Wc4d-WRKYQY4",
    "outputId": "b00d4397-6832-42cf-ea66-b65d8e33759a"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([5.   , 5.   , 5.   , 4.7  , 4.76 , 4.756, 4.76 , 4.76 , 4.76 ,\n",
       "       4.75 , 4.758, 4.68 , 4.707, 4.756, 4.757, 4.76 , 4.737, 4.776,\n",
       "       4.76 , 4.76 , 4.707, 4.755, 4.734, 4.744, 4.748, 4.76 , 4.76 ,\n",
       "       4.707, 4.742, 4.76 , 4.76 , 4.749, 4.76 , 4.707, 4.707, 4.76 ,\n",
       "       4.759, 4.746, 4.707, 4.76 , 4.76 , 4.76 , 4.711, 4.757, 4.76 ,\n",
       "       4.804, 4.76 , 4.745, 4.76 , 4.76 , 4.744, 4.76 , 4.76 , 4.75 ,\n",
       "       4.76 , 4.762, 4.76 , 4.749, 4.757, 4.756, 4.704, 4.742, 4.757,\n",
       "       4.745, 4.756, 4.686, 4.76 , 4.739, 4.75 , 4.76 , 4.728, 4.744,\n",
       "       4.726, 4.76 , 4.69 , 4.756, 4.707, 4.76 , 4.757, 4.736, 4.759,\n",
       "       4.76 , 4.754, 4.76 , 4.76 , 4.698, 4.735, 4.756, 4.733, 4.691,\n",
       "       4.76 , 4.739, 4.75 , 4.714, 4.75 , 4.739, 4.76 , 4.756, 4.76 ,\n",
       "       4.716, 4.707, 4.76 , 4.753, 4.76 , 4.76 , 4.76 , 4.76 , 4.759,\n",
       "       4.76 , 4.68 , 4.715, 4.801, 4.658, 4.76 , 4.759, 4.76 , 4.726,\n",
       "       4.76 , 4.76 , 4.68 , 4.68 , 4.729, 4.733, 4.756, 4.752, 4.76 ,\n",
       "       4.72 , 4.748, 4.734, 4.76 , 4.691, 4.777, 4.738, 4.76 , 4.749,\n",
       "       4.749, 4.758, 4.757, 4.697, 4.764, 4.749, 4.76 , 4.733, 4.76 ,\n",
       "       4.711, 4.758, 4.746, 4.76 , 4.745, 4.754, 4.76 , 4.76 , 4.76 ,\n",
       "       4.788, 4.707, 4.76 , 4.76 , 4.763, 4.78 , 4.772, 4.758, 4.76 ,\n",
       "       4.71 , 4.76 , 4.76 , 4.76 , 4.76 , 4.76 , 4.76 , 4.718, 4.76 ,\n",
       "       4.792, 4.76 , 4.707, 4.763, 4.76 , 4.76 , 4.717, 4.755, 4.707,\n",
       "       4.76 , 4.76 , 4.761, 4.76 , 4.76 , 4.744, 4.751, 4.76 , 4.76 ,\n",
       "       4.682, 4.76 , 4.76 , 4.784, 4.724, 4.74 , 4.727, 4.757, 4.783,\n",
       "       4.752, 4.76 , 4.756, 4.76 , 4.754, 4.76 , 4.76 , 4.76 , 4.724,\n",
       "       4.76 , 4.759, 4.76 , 4.76 , 4.76 , 4.76 , 4.749, 4.74 , 4.721,\n",
       "       4.733, 4.756, 4.716, 4.76 , 4.718, 4.754, 4.759, 4.76 , 4.76 ,\n",
       "       4.742, 4.704, 4.752, 4.76 , 4.721, 4.723, 4.76 , 4.76 , 4.76 ,\n",
       "       4.717, 4.764, 4.714, 4.76 , 4.715, 4.725, 4.781, 4.73 , 4.76 ,\n",
       "       4.707, 4.76 , 4.76 , 4.765, 4.73 , 4.732, 4.76 , 4.691, 4.76 ,\n",
       "       4.76 , 4.76 , 4.712, 4.76 , 4.716, 4.76 , 4.76 , 4.76 , 4.76 ,\n",
       "       4.728, 4.76 , 4.76 , 4.75 , 4.76 , 4.76 , 4.76 , 4.76 , 4.752,\n",
       "       4.707, 4.719, 4.753, 4.76 , 4.76 , 4.76 , 4.76 , 4.75 , 4.76 ,\n",
       "       4.766, 4.747, 4.76 , 4.707, 4.755, 4.76 , 4.76 , 4.76 , 4.76 ,\n",
       "       4.748, 4.733, 4.718, 4.745, 4.742, 4.76 , 4.76 , 4.76 , 4.76 ,\n",
       "       4.76 , 4.721, 4.76 , 4.76 , 4.749, 4.766, 4.74 , 4.742, 4.75 ,\n",
       "       4.76 , 4.757, 4.76 , 4.76 , 4.729, 4.76 , 4.76 , 4.758, 4.738,\n",
       "       4.76 , 4.71 , 4.76 , 4.76 , 4.793, 4.76 , 4.742, 4.746, 4.755,\n",
       "       4.73 , 4.76 , 4.76 , 4.76 , 4.76 , 4.749, 4.76 , 4.707, 4.76 ,\n",
       "       4.753, 4.759, 4.76 , 4.76 , 4.76 , 4.7  , 4.75 , 4.749, 4.718,\n",
       "       4.718, 4.746, 4.76 , 4.76 , 4.76 , 4.76 , 4.743, 4.738, 4.76 ,\n",
       "       4.707, 4.715, 4.76 , 4.68 , 4.76 , 4.76 , 4.76 , 4.76 , 4.75 ,\n",
       "       4.76 , 4.76 , 4.76 , 4.698, 4.76 , 4.738, 4.76 , 4.76 ])"
      ]
     },
     "execution_count": 51,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "libfm_predict_final"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 542
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 800,
     "status": "ok",
     "timestamp": 1545909702800,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "tJuGlML7ZekI",
    "outputId": "4bd08888-dc3f-4803-8a67-fe70d30b3fbf"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>USERID</th>\n",
       "      <th>movieid</th>\n",
       "      <th>rectime</th>\n",
       "      <th>lrrat</th>\n",
       "      <th>fmrat</th>\n",
       "      <th>name</th>\n",
       "      <th>ADD_TIME</th>\n",
       "      <th>type</th>\n",
       "      <th>actors</th>\n",
       "      <th>...</th>\n",
       "      <th>enable</th>\n",
       "      <th>description</th>\n",
       "      <th>img</th>\n",
       "      <th>rmax</th>\n",
       "      <th>rmin</th>\n",
       "      <th>ravg</th>\n",
       "      <th>rcount</th>\n",
       "      <th>rsum</th>\n",
       "      <th>rmedian</th>\n",
       "      <th>TIME_DIS</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>10001432</td>\n",
       "      <td>2018-12-17 13:17:03</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>颠倒的帕特玛</td>\n",
       "      <td>2018-02-07 20:46:08</td>\n",
       "      <td>剧情|冒险|科幻|爱情</td>\n",
       "      <td>藤井雪代|冈本信彦|大畑伸太郎|福松进纱|加藤将之</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>10438426</td>\n",
       "      <td>2018-12-17 13:19:38</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>浮城谜事</td>\n",
       "      <td>2018-02-07 20:26:53</td>\n",
       "      <td>剧情|犯罪|悬疑|爱情</td>\n",
       "      <td>郝蕾|秦昊|齐溪|朱亚文|祖锋</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>10430817</td>\n",
       "      <td>2018-12-17 13:39:26</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>隐墙</td>\n",
       "      <td>2018-02-07 21:03:06</td>\n",
       "      <td>剧情|奇幻|悬疑|科幻</td>\n",
       "      <td>马蒂娜·格德克|Karlheinz Hackl|Wolfgang M|Bauer|Ulrik...</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>5</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>10428476</td>\n",
       "      <td>2018-12-27 16:36:07</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>小屁孩日记3</td>\n",
       "      <td>2018-02-07 20:47:00</td>\n",
       "      <td>剧情|喜剧</td>\n",
       "      <td>扎克瑞·戈登|瑞秋·哈里斯|戴文·博斯蒂克|罗伯特·卡普荣|佩顿·李斯特</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>7.0</td>\n",
       "      <td>27.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>6</td>\n",
       "      <td>cf2349f9c01f9a5cd4050aebd30ab74f</td>\n",
       "      <td>10480973</td>\n",
       "      <td>2018-12-27 16:39:34</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>圣斗士星矢：圣域传说</td>\n",
       "      <td>2018-02-07 20:38:14</td>\n",
       "      <td>奇幻|冒险|科幻|动作</td>\n",
       "      <td>石川界人|赤羽根健治|小野贤章|冈本信彦|野岛健儿</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.85714</td>\n",
       "      <td>7.0</td>\n",
       "      <td>27.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 24 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "  id                            USERID   movieid             rectime lrrat  \\\n",
       "0  1                                 1  10001432 2018-12-17 13:17:03         \n",
       "1  4                                 1  10438426 2018-12-17 13:19:38         \n",
       "2  2                                 1  10430817 2018-12-17 13:39:26         \n",
       "3  5  cf2349f9c01f9a5cd4050aebd30ab74f  10428476 2018-12-27 16:36:07         \n",
       "4  6  cf2349f9c01f9a5cd4050aebd30ab74f  10480973 2018-12-27 16:39:34         \n",
       "\n",
       "  fmrat        name             ADD_TIME         type  \\\n",
       "0            颠倒的帕特玛  2018-02-07 20:46:08  剧情|冒险|科幻|爱情   \n",
       "1              浮城谜事  2018-02-07 20:26:53  剧情|犯罪|悬疑|爱情   \n",
       "2                隐墙  2018-02-07 21:03:06  剧情|奇幻|悬疑|科幻   \n",
       "3            小屁孩日记3  2018-02-07 20:47:00        剧情|喜剧   \n",
       "4        圣斗士星矢：圣域传说  2018-02-07 20:38:14  奇幻|冒险|科幻|动作   \n",
       "\n",
       "                                              actors    ...    enable  \\\n",
       "0                          藤井雪代|冈本信彦|大畑伸太郎|福松进纱|加藤将之    ...         1   \n",
       "1                                    郝蕾|秦昊|齐溪|朱亚文|祖锋    ...         1   \n",
       "2  马蒂娜·格德克|Karlheinz Hackl|Wolfgang M|Bauer|Ulrik...    ...         1   \n",
       "3               扎克瑞·戈登|瑞秋·哈里斯|戴文·博斯蒂克|罗伯特·卡普荣|佩顿·李斯特    ...         1   \n",
       "4                          石川界人|赤羽根健治|小野贤章|冈本信彦|野岛健儿    ...         1   \n",
       "\n",
       "  description img rmax rmin     ravg rcount  rsum  rmedian  TIME_DIS  \n",
       "0                  0.0  0.0  0.00000    0.0   0.0      0.0       0.0  \n",
       "1                  0.0  0.0  0.00000    0.0   0.0      0.0       0.0  \n",
       "2                  0.0  0.0  0.00000    0.0   0.0      0.0       0.0  \n",
       "3                  5.0  2.0  3.85714    7.0  27.0      4.0       0.0  \n",
       "4                  5.0  2.0  3.85714    7.0  27.0      4.0       0.0  \n",
       "\n",
       "[5 rows x 24 columns]"
      ]
     },
     "execution_count": 125,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "PPZnhJN2Zg0R"
   },
   "outputs": [],
   "source": [
    "def update_recmovie_rat(id, rat, connection, model_type):\n",
    "  rat_field = None\n",
    "  if model_type == 'LR':\n",
    "    rat_field = 'recmovie.lrrat'\n",
    "  elif model_type == 'FM':\n",
    "    rat_field = 'recmovie.fmrat'\n",
    "    \n",
    "  sql = 'update recmovie set %s = %s where id = %s' % (rat_field, rat, id)\n",
    "  try:\n",
    "      with connection.cursor() as cursor:\n",
    "          cout=cursor.execute(sql)\n",
    "      connection.commit()\n",
    "  except:\n",
    "      connection.close()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 964,
     "status": "ok",
     "timestamp": 1546494503230,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "cpdjogFgkimt",
    "outputId": "fc97a233-2452-4be7-9678-e987de6569ab"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'1'"
      ]
     },
     "execution_count": 62,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_data.iloc[0]['id']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "lzitc6BXkLxu"
   },
   "outputs": [],
   "source": [
    "def update_FM_rat(df_data, libfm_predict_final):\n",
    "  index_ = 0\n",
    "  for r in libfm_predict_final:\n",
    "    update_recmovie_rat(df_data.iloc[index_]['id'], r, get_connection(), 'FM')\n",
    "    index_ = index_ + 1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "b2fK-4Q4ktPa"
   },
   "outputs": [],
   "source": [
    "update_FM_rat(df_data, libfm_predict_final)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "GMFBCUWCo2iz"
   },
   "outputs": [],
   "source": [
    "train_file_lr_path = '/content/drive/My Drive/colabnotebook/recsys_train_scaling_lr.txt'\n",
    "test_file_lr_path = '/content/drive/My Drive/colabnotebook/recsys_test_scaling_lr.txt'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "5uZ2NHEHZcdT"
   },
   "outputs": [],
   "source": [
    "train_lr_path = '/content/drive/My Drive/colabnotebook/recsys_train_lr.txt'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "l5Zo5X-koBcV"
   },
   "outputs": [],
   "source": [
    "train_X_lr, train_y = get_test_data(train_lr_path)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "f6_sfd1DpApJ"
   },
   "outputs": [],
   "source": [
    "test_X_lr, test_y = get_test_data(test_file_lr_path)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 195,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 139
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 15410,
     "status": "ok",
     "timestamp": 1546497037456,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "hMewIi5glcKn",
    "outputId": "283c0cf3-fd5e-4cb6-e96e-775f30177205"
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/usr/local/lib/python3.6/dist-packages/sklearn/linear_model/logistic.py:433: FutureWarning: Default solver will be changed to 'lbfgs' in 0.22. Specify a solver to silence this warning.\n",
      "  FutureWarning)\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "LogisticRegression(C=0.01, class_weight=None, dual=False, fit_intercept=True,\n",
       "          intercept_scaling=1, max_iter=100, multi_class='warn',\n",
       "          n_jobs=None, penalty='l2', random_state=None, solver='warn',\n",
       "          tol=0.0001, verbose=0, warm_start=False)"
      ]
     },
     "execution_count": 195,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "lr = LogisticRegression(C=0.01,penalty='l2')\n",
    "lr.fit(train_X_lr,train_y)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "8036vdjpRI5L"
   },
   "outputs": [],
   "source": [
    "train_X_4_scale, train_y_4_scale = get_test_data(train_lr_path)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 197,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 1838,
     "status": "ok",
     "timestamp": 1546497048394,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "s5kU8FV2Rec5",
    "outputId": "97651e35-cfe5-4b64-84fc-46e79662078f"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(280000, 75619)"
      ]
     },
     "execution_count": 197,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "train_X_4_scale.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 132,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 1417,
     "status": "ok",
     "timestamp": 1546495818635,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "b7y2F5n_RKqi",
    "outputId": "018cffa8-03b0-444e-93eb-dfe3c9ab8b84"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(159626,)"
      ]
     },
     "execution_count": 132,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "train_y_4_scale[train_y_4_scale == 1].shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 233,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 1104,
     "status": "ok",
     "timestamp": 1546498491168,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "bwSNcSS3QlFC",
    "outputId": "d8b98aa4-300a-4a1b-99cc-96618aa63469"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "MaxAbsScaler(copy=True)"
      ]
     },
     "execution_count": 233,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from sklearn import preprocessing\n",
    "\n",
    "scaler = preprocessing.MaxAbsScaler()\n",
    "scaler.fit(train_X_4_scale)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 234,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 51
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 1126,
     "status": "ok",
     "timestamp": 1546498491814,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "nnc0bN-PVm6-",
    "outputId": "326f33e6-0ff8-450e-f0d9-978b6417a9f6"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "matrix([[  1.,   1.,   1.,   3., 100.,   3.,   3.,   3.,   3.,   1.,\n",
       "           1.,   1.,   1.,   1.,   1.,   1.]])"
      ]
     },
     "execution_count": 234,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "temp_one = v_from_pkl.transform({'1': 1,\n",
    "  '10430817': 1,\n",
    "  'TIME_DIS': 0.0,\n",
    "  'other_actor': 1,\n",
    "  'other_director': 1,\n",
    "  'rat': '7.4',\n",
    "  'ravg': 3.0,\n",
    "  'rcount': 1.0,\n",
    "  'rmax': 3.0,\n",
    "  'rmedian': 3.0,\n",
    "  'rmin': 3.0,\n",
    "  'rsum': 3.0,\n",
    "  '剧情': 1,\n",
    "  '奇幻': 1,\n",
    "  '德国': 1,\n",
    "  '悬疑': 1,\n",
    "  '文艺': 1,\n",
    "  '科幻': 1,\n",
    "  '马蒂娜·格德克': 1})\n",
    "\n",
    "temp_one = v_from_pkl.transform({'1': 1,\n",
    "  '10430817': 1,\n",
    "  'TIME_DIS': 0.0,\n",
    "  'other_actor': 1,\n",
    "  'other_director': 1,\n",
    "  'rat': '7.4',\n",
    "  'ravg': 3.0,\n",
    "  'rcount': 100.0,\n",
    "  'rmax': 3.0,\n",
    "  'rmedian': 3.0,\n",
    "  'rmin': 3.0,\n",
    "  'rsum': 3.0,\n",
    "  '剧情': 1,\n",
    "  '奇幻': 1,\n",
    "  '德国': 1,\n",
    "  '悬疑': 1,\n",
    "  '文艺': 1,\n",
    "  '科幻': 1,\n",
    "  '马蒂娜·格德克': 1})\n",
    "temp_one[temp_one != 0]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "4AhDNyG7VtYm"
   },
   "outputs": [],
   "source": [
    "temp_one_X = scaler.transform(temp_one)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 236,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 51
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 663,
     "status": "ok",
     "timestamp": 1546498492998,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "Mc3EiRpke-XT",
    "outputId": "60101dd8-ac1d-4e68-bae0-417229b0f580"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "matrix([[1.   , 1.   , 1.   , 0.6  , 0.035, 0.6  , 0.6  , 0.6  , 0.   ,\n",
       "         1.   , 1.   , 1.   , 1.   , 1.   , 1.   , 1.   ]])"
      ]
     },
     "execution_count": 236,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "temp_one_X[temp_one_X != 0]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "MsPbGIc6RhwC"
   },
   "outputs": [],
   "source": [
    "predict_X = scaler.transform(predict_X)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "mlx97ExLpwVh"
   },
   "outputs": [],
   "source": [
    "lr_predict_final = lr.predict_proba(temp_one)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 218,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 626,
     "status": "ok",
     "timestamp": 1546497113861,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "24FU5lqXQfAf",
    "outputId": "6f461cab-4797-4c95-ec89-7b8b3b6b9f46"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([[0.032, 0.968]])"
      ]
     },
     "execution_count": 218,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "lr_predict_final"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "X7YN7XWlpfRj"
   },
   "outputs": [],
   "source": [
    "def update_LR_rat(df_data, lr_predict_final):\n",
    "  index_ = 0\n",
    "  for r in lr_predict_final:\n",
    "    update_recmovie_rat(df_data.iloc[index_]['id'], r[1], get_connection(), 'LR')\n",
    "    index_ = index_ + 1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "t0moIZIdwIDb"
   },
   "outputs": [],
   "source": [
    "update_LR_rat(df_data, lr_predict_final.tolist())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 767,
     "status": "ok",
     "timestamp": 1545914157205,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "UijTWjgUp4Ip",
    "outputId": "bd3aeaec-7de2-4f36-f221-0feba6840475"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "((280000, 75619), (9152, 75615))"
      ]
     },
     "execution_count": 153,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "train_X_lr.shape, test_X_lr.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 798,
     "status": "ok",
     "timestamp": 1545914653545,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "CjbSddBFqdKs",
    "outputId": "cb0b7d74-b79a-4ee3-c92b-8271e0ffc249"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(9152, 75615)"
      ]
     },
     "execution_count": 155,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "X.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 51
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 1457,
     "status": "ok",
     "timestamp": 1545916107351,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "emsK5JLhsNde",
    "outputId": "232393fb-a67e-440d-98ec-41bcd95e201b"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<5x75619 sparse matrix of type '<class 'numpy.float64'>'\n",
       "\twith 94 stored elements in Compressed Sparse Row format>"
      ]
     },
     "execution_count": 175,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "predict_X"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 34
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 874,
     "status": "ok",
     "timestamp": 1545915575297,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "lhnypRDqtDTX",
    "outputId": "5a143d52-9670-4e43-83b5-f4c3ec0a6271"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([0., 1.])"
      ]
     },
     "execution_count": 163,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "lr.classes_"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 102
    },
    "colab_type": "code",
    "collapsed": false,
    "executionInfo": {
     "elapsed": 806,
     "status": "ok",
     "timestamp": 1545916116275,
     "user": {
      "displayName": "Cheng Gavin",
      "photoUrl": "",
      "userId": "16557339152332771497"
     },
     "user_tz": -480
    },
    "id": "er6O9kdstZfc",
    "outputId": "f8cd9bf7-a408-4802-e284-857b540d97e9"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[[0.9976049939496754, 0.0023950060503245886],\n",
       " [0.9998143586577533, 0.00018564134224680022],\n",
       " [0.9983921456376658, 0.0016078543623342142],\n",
       " [0.0, 1.0],\n",
       " [0.0, 1.0]]"
      ]
     },
     "execution_count": 176,
     "metadata": {
      "tags": []
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "lr_predict_final.tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 0,
   "metadata": {
    "colab": {},
    "colab_type": "code",
    "collapsed": true,
    "id": "HfJgC3Lcx-mQ"
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "colab": {
   "collapsed_sections": [],
   "name": "6_recbyFM_LR.ipynb",
   "provenance": [],
   "version": "0.3.2"
  },
  "kernelspec": {
   "display_name": "Python [default]",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
